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