[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.21.2003190557200.29708@namei.org>
Date: Thu, 19 Mar 2020 05:57:34 +1100 (AEDT)
From: James Morris <jmorris@...ei.org>
To: David Howells <dhowells@...hat.com>
cc: torvalds@...ux-foundation.org, viro@...iv.linux.org.uk,
Casey Schaufler <casey@...aufler-ca.com>,
Stephen Smalley <sds@...ho.nsa.gov>,
linux-security-module@...r.kernel.org,
Casey Schaufler <casey@...aufler-ca.com>,
Stephen Smalley <sds@...ho.nsa.gov>, nicolas.dichtel@...nd.com,
raven@...maw.net, christian@...uner.io, andres@...razel.de,
jlayton@...hat.com, dray@...hat.com, kzak@...hat.com,
keyrings@...r.kernel.org, linux-api@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 03/17] security: Add a hook for the point of notification
insertion [ver #5]
On Wed, 18 Mar 2020, David Howells wrote:
> Add a security hook that allows an LSM to rule on whether a notification
> message is allowed to be inserted into a particular watch queue.
>
> The hook is given the following information:
>
> (1) The credentials of the triggerer (which may be init_cred for a system
> notification, eg. a hardware error).
>
> (2) The credentials of the whoever set the watch.
>
> (3) The notification message.
>
> Signed-off-by: David Howells <dhowells@...hat.com>
> cc: Casey Schaufler <casey@...aufler-ca.com>
> cc: Stephen Smalley <sds@...ho.nsa.gov>
> cc: linux-security-module@...r.kernel.org
> ---
>
> include/linux/lsm_hooks.h | 14 ++++++++++++++
> include/linux/security.h | 14 ++++++++++++++
> security/security.c | 9 +++++++++
> 3 files changed, 37 insertions(+)
Acked-by: James Morris <jamorris@...ux.microsoft.com>
--
James Morris
<jmorris@...ei.org>
Powered by blists - more mailing lists