[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1530621341.3452.5.camel@linux.vnet.ibm.com>
Date: Tue, 03 Jul 2018 08:35:41 -0400
From: Mimi Zohar <zohar@...ux.vnet.ibm.com>
To: J Freyensee <why2jjj.linux@...il.com>,
linux-integrity@...r.kernel.org
Cc: linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, David Howells <dhowells@...hat.com>,
"Luis R . Rodriguez" <mcgrof@...nel.org>,
Eric Biederman <ebiederm@...ssion.com>,
kexec@...ts.infradead.org, Andres Rodriguez <andresx7@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Kees Cook <keescook@...omium.org>,
Casey Schaufler <casey@...aufler-ca.com>
Subject: Re: [PATCH v5 1/8] security: define new LSM hook named
security_kernel_load_data
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
> module).
Could we replace "a block of data provided by userspace" with just
"data provided by userspace"?
Mimi
Powered by blists - more mailing lists