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

From: Huaisheng HS1 Ye
Date: Mon Jan 13 2020 - 10:00:22 EST



> -----Original Message-----
> From: Stephen Smalley <sds@xxxxxxxxxxxxx>
> Sent: Monday, January 13, 2020 9:47 PM
>
> On 1/12/20 10:42 AM, Huaisheng Ye wrote:
> > From: Huaisheng Ye <yehs1@xxxxxxxxxx>
> >
> > 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@xxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

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

Cheers,
Huaisheng Ye