On Mon, Jan 13, 2020 at 10:05 AM Huaisheng Ye <yehs2007@xxxxxxxx> 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. > > Fix a typo by suggestion from Stephen. > > Signed-off-by: Huaisheng Ye <yehs1@xxxxxxxxxx> > Acked-by: Stephen Smalley <sds@xxxxxxxxxxxxx> > --- > security/selinux/hooks.c | 73 ++++++++++++++++++++++-------------------------- > 1 file changed, 34 insertions(+), 39 deletions(-) Merged into selinux/next, thanks! -- paul moore www.paul-moore.com