[PATCH] security,selinux: remove security_add_mnt_opt()

Paul Moore paul at paul-moore.com
Mon Dec 6 18:48:48 UTC 2021


On Mon, Dec 6, 2021 at 8:24 AM Ondrej Mosnacek <omosnace at redhat.com> wrote:
>
> Its last user has been removed in commit f2aedb713c28 ("NFS: Add
> fs_context support.").
>
> Signed-off-by: Ondrej Mosnacek <omosnace at redhat.com>
> ---
>  include/linux/lsm_hook_defs.h |  2 --
>  include/linux/lsm_hooks.h     |  2 --
>  include/linux/security.h      |  8 -------
>  security/security.c           |  8 -------
>  security/selinux/hooks.c      | 39 -----------------------------------
>  5 files changed, 59 deletions(-)

Good catch.  As this really only affects SELinux, I've merged this
into the selinux/next tree.

-- 
paul moore
www.paul-moore.com



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