[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhTrg_7XNQSXsHLDtHwr+u1mK9uX49tUC5uH0N06Y1W1dQ@mail.gmail.com>
Date: Fri, 10 Jan 2020 11:43:32 -0500
From: Paul Moore <paul@...l-moore.com>
To: Huaisheng Ye <yehs2007@...o.com>
Cc: Stephen Smalley <sds@...ho.nsa.gov>,
Eric Paris <eparis@...isplace.org>,
James Morris <jmorris@...ei.org>,
Serge Hallyn <serge@...lyn.com>, tyu1@...ovo.com,
linux-security-module@...r.kernel.org, selinux@...r.kernel.org,
linux-kernel@...r.kernel.org, Huaisheng Ye <yehs1@...ovo.com>
Subject: Re: [PATCH] selinux: remove redundant msg_msg_alloc_security
On Fri, Jan 10, 2020 at 4:59 AM Huaisheng Ye <yehs2007@...o.com> wrote:
> From: Huaisheng Ye <yehs1@...ovo.com>
>
> selinux_msg_msg_alloc_security only calls msg_msg_alloc_security but
> do nothing else. And also msg_msg_alloc_security is just used by the
> former.
>
> Remove the redundant function to simplify the code.
>
> Signed-off-by: Huaisheng Ye <yehs1@...ovo.com>
> ---
> security/selinux/hooks.c | 17 ++++++-----------
> 1 file changed, 6 insertions(+), 11 deletions(-)
Merged into selinux/next, thanks!
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists