Re: [PATCH v4 09/17] LSM: Introduce kernel_post_load_data() hook

2020-08-06 Thread KP Singh
On Wed, Jul 29, 2020 at 7:59 PM Kees Cook wrote: > > There are a few places in the kernel where LSMs would like to have > visibility into the contents of a kernel buffer that has been loaded or > read. While security_kernel_post_read_file() (which includes the > buffer) exists as a pairing for

Re: [PATCH v4 09/17] LSM: Introduce kernel_post_load_data() hook

2020-08-06 Thread Mimi Zohar
On Wed, 2020-07-29 at 10:58 -0700, Kees Cook wrote: > There are a few places in the kernel where LSMs would like to have > visibility into the contents of a kernel buffer that has been loaded or > read. While security_kernel_post_read_file() (which includes the > buffer) exists as a pairing for

[PATCH v4 09/17] LSM: Introduce kernel_post_load_data() hook

2020-07-29 Thread Kees Cook
There are a few places in the kernel where LSMs would like to have visibility into the contents of a kernel buffer that has been loaded or read. While security_kernel_post_read_file() (which includes the buffer) exists as a pairing for security_kernel_read_file(), no such hook exists to pair with