Re: [PATCH v5 11/16] LSM: Add "contents" flag to kernel_read_file hook

2020-10-06 Thread James Morris
On Fri, 2 Oct 2020, Kees Cook wrote: > Signed-off-by: Kees Cook > Reviewed-by: Mimi Zohar Reviewed-by: James Morris -- James Morris

[PATCH v5 11/16] LSM: Add "contents" flag to kernel_read_file hook

2020-10-02 Thread Kees Cook
As with the kernel_load_data LSM hook, add a "contents" flag to the kernel_read_file LSM hook that indicates whether the LSM can expect a matching call to the kernel_post_read_file LSM hook with the full contents of the file. With the coming addition of partial file read support for