[PATCH v2] selinux: remove redundant selinux_nlmsg_perm

Paul Moore paul at paul-moore.com
Thu Jan 16 19:37:19 UTC 2020


On Mon, Jan 13, 2020 at 10:05 AM Huaisheng Ye <yehs2007 at zoho.com> 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.
>
> Fix a typo by suggestion from Stephen.
>
> Signed-off-by: Huaisheng Ye <yehs1 at lenovo.com>
> Acked-by: Stephen Smalley <sds at tycho.nsa.gov>
> ---
>  security/selinux/hooks.c | 73 ++++++++++++++++++++++--------------------------
>  1 file changed, 34 insertions(+), 39 deletions(-)

Merged into selinux/next, thanks!

-- 
paul moore
www.paul-moore.com



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