[RFC PATCH 1/5] vfs: define a generic function to read a file from the kernel

2016-01-08 Thread Mimi Zohar
In order to measure and appraise files being read by the kernel, new module and kexec syscalls were defined which include a file descriptor. Other places in the kernel (eg. firmware, IMA, sound) also read files. This patch introduces a common function for reading files from the kernel with the

Re: [RFC PATCH 1/5] vfs: define a generic function to read a file from the kernel

2016-01-08 Thread Mimi Zohar
On Fri, 2016-01-08 at 12:24 -0800, Kees Cook wrote: > On Fri, Jan 8, 2016 at 11:22 AM, Mimi Zohar wrote: > > In order to measure and appraise files being read by the kernel, > > new module and kexec syscalls were defined which include a file > > descriptor. Other places

Re: [RFC PATCH 1/5] vfs: define a generic function to read a file from the kernel

2016-01-08 Thread Kees Cook
On Fri, Jan 8, 2016 at 11:22 AM, Mimi Zohar wrote: > In order to measure and appraise files being read by the kernel, > new module and kexec syscalls were defined which include a file > descriptor. Other places in the kernel (eg. firmware, IMA, > sound) also read files.