[External] Re: [PATCH] selinux: remove redundant selinux_nlmsg_perm

Huaisheng HS1 Ye yehs1 at lenovo.com
Mon Jan 13 15:00:06 UTC 2020


> -----Original Message-----
> From: Stephen Smalley <sds at tycho.nsa.gov>
> Sent: Monday, January 13, 2020 9:47 PM
> 
> On 1/12/20 10:42 AM, Huaisheng Ye wrote:
> > From: Huaisheng Ye <yehs1 at lenovo.com>
> >
> > selinux_nlmsg_perm is used for only by selinux_netlink_send. Remove
> > the redundant function to simplify the code.
> >
> > Signed-off-by: Huaisheng Ye <yehs1 at lenovo.com>
> 
> The patch itself seems fine but it looks like someone accidentally put pig= in
> the log message when they meant pid=; that can be fixed via a separate patch.
> 
> Acked-by: Stephen Smalley <sds at tycho.nsa.gov>

Thanks for the Acked-by.
Aha, yes it is. I will offer the patch v2 to fix this typo.

Cheers,
Huaisheng Ye




More information about the Linux-security-module-archive mailing list