In a process context kernel_read returns -EINTR, how to proceed?

Lev Olshvang levonshe at
Sun Dec 23 03:41:30 EST 2018

I use  security_mmap_file hook.

21.12.2018, 19:15, "valdis.kletnieks at" <valdis.kletnieks at>:
> 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?

More information about the Kernelnewbies mailing list