Home
last modified time | relevance | path

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

/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()
/linux/security/selinux/
H A Dhooks.c656 if (kern_flags & SECURITY_LSM_NATIVE_LABELS) { in selinux_set_mnt_opts()
658 *set_kern_flags |= SECURITY_LSM_NATIVE_LABELS; in selinux_set_mnt_opts()
809 } else if (kern_flags & SECURITY_LSM_NATIVE_LABELS && !context_sid) { in selinux_set_mnt_opts()
811 *set_kern_flags |= SECURITY_LSM_NATIVE_LABELS; in selinux_set_mnt_opts()
934 if (kern_flags & SECURITY_LSM_NATIVE_LABELS) { in selinux_sb_clone_mnt_opts()
936 *set_kern_flags |= SECURITY_LSM_NATIVE_LABELS; in selinux_sb_clone_mnt_opts()
947 if ((kern_flags & SECURITY_LSM_NATIVE_LABELS) && !set_context) in selinux_sb_clone_mnt_opts()
948 *set_kern_flags |= SECURITY_LSM_NATIVE_LABELS; in selinux_sb_clone_mnt_opts()
959 !(kern_flags & SECURITY_LSM_NATIVE_LABELS) && !set_context) { in selinux_sb_clone_mnt_opts()
965 if (kern_flags & SECURITY_LSM_NATIVE_LABELS && !set_context) { in selinux_sb_clone_mnt_opts()
[all …]