Home
last modified time | relevance | path

Searched refs:SECURITY_LSM_NATIVE_LABELS (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dgetroot.c128 kflags |= SECURITY_LSM_NATIVE_LABELS; in nfs_get_root()
148 !(kflags_out & SECURITY_LSM_NATIVE_LABELS)) in nfs_get_root()
/openbmc/linux/security/selinux/
H A Dhooks.c649 if (kern_flags & SECURITY_LSM_NATIVE_LABELS) { in selinux_set_mnt_opts()
651 *set_kern_flags |= SECURITY_LSM_NATIVE_LABELS; in selinux_set_mnt_opts()
802 } else if (kern_flags & SECURITY_LSM_NATIVE_LABELS && !context_sid) { in selinux_set_mnt_opts()
804 *set_kern_flags |= SECURITY_LSM_NATIVE_LABELS; in selinux_set_mnt_opts()
927 if (kern_flags & SECURITY_LSM_NATIVE_LABELS) { in selinux_sb_clone_mnt_opts()
929 *set_kern_flags |= SECURITY_LSM_NATIVE_LABELS; in selinux_sb_clone_mnt_opts()
940 if ((kern_flags & SECURITY_LSM_NATIVE_LABELS) && !set_context) in selinux_sb_clone_mnt_opts()
941 *set_kern_flags |= SECURITY_LSM_NATIVE_LABELS; in selinux_sb_clone_mnt_opts()
952 !(kern_flags & SECURITY_LSM_NATIVE_LABELS) && !set_context) { in selinux_sb_clone_mnt_opts()
958 if (kern_flags & SECURITY_LSM_NATIVE_LABELS && !set_context) { in selinux_sb_clone_mnt_opts()
[all …]
/openbmc/linux/include/linux/
H A Dsecurity.h72 #define SECURITY_LSM_NATIVE_LABELS 1 macro