Lines Matching refs:SECURITY_LSM_NATIVE_LABELS
656 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()
967 *set_kern_flags |= SECURITY_LSM_NATIVE_LABELS; in selinux_sb_clone_mnt_opts()