Home
last modified time | relevance | path

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

/linux-6.6.21/fs/nfs/
Dgetroot.c128 kflags |= SECURITY_LSM_NATIVE_LABELS; in nfs_get_root()
148 !(kflags_out & SECURITY_LSM_NATIVE_LABELS)) in nfs_get_root()
/linux-6.6.21/security/selinux/
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 …]
/linux-6.6.21/include/linux/
Dsecurity.h72 #define SECURITY_LSM_NATIVE_LABELS 1 macro