Re: [PATCH v2 11/18] LSM: Introduce kernel_post_load_data() hook

2020-07-27 Thread Scott Branden
Patch 11-14 work for me but I have little knowledge to comment on these patches. On 2020-07-22 12:30 p.m., 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

[PATCH v2 11/18] LSM: Introduce kernel_post_load_data() hook

2020-07-22 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 s