I use security_mmap_file hook. 21.12.2018, 19:15, "valdis.kletnieks at vt.edu" <valdis.kletnieks at vt.edu>: > On Fri, 21 Dec 2018 16:51:29 +0300, Lev Olshvang said: > >> I need to read file inside LSM hook and I can not do it in user space > > Why? And which LSM hook are you trying to do this?