Re: [PATCH v5 1/8] security: define new LSM hook named security_kernel_load_data
From: Mimi Zohar
Date: Tue Jul 03 2018 - 08:36:09 EST
On Mon, 2018-07-02 at 11:45 -0700, J Freyensee wrote:
> On 7/2/18 7:37 AM, Mimi Zohar wrote:
> > Differentiate between the kernel reading a file from the kernel loading
> > data provided by userspace. This patch defines a new LSM hook named
> > security_kernel_load_data.
> If this patch series is re-done, can we tweak the description here
> please?Â From what I understood of the code in this patch, I'd tweak it as:
> "Differentiate between the kernel reading a file specified by userspace
> and the kernel loading a block of data provided by userspace.Â This
> patch defines a new LSM hook named security_kernel_load_data()."
> From the description, I got a tad confused if the the kernel
> reading a file was also provided by userspace (I know it may be 2nd-
> nature to people on this list, I'm still learning this kernel
Could we replace "a block of data provided by userspace" with just
"data provided by userspace"?