Home
last modified time | relevance | path

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

/linux-6.12.1/security/selinux/include/
Dsecurity.h61 #define DEFCONTEXT_MNT 0x08 macro
/linux-6.12.1/security/selinux/
Dhooks.c714 if (bad_option(sbsec, DEFCONTEXT_MNT, sbsec->def_sid, in selinux_set_mnt_opts()
717 sbsec->flags |= DEFCONTEXT_MNT; in selinux_set_mnt_opts()
890 if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid) in selinux_cmp_sb_context()
1103 if (sbsec->flags & DEFCONTEXT_MNT) { in selinux_sb_show_options()
2686 if (bad_option(sbsec, DEFCONTEXT_MNT, sbsec->def_sid, in selinux_sb_mnt_opts_compat()
2722 if (bad_option(sbsec, DEFCONTEXT_MNT, sbsec->def_sid, in selinux_sb_remount()
2796 if (!(sbsec->flags & (FSCONTEXT_MNT|CONTEXT_MNT|DEFCONTEXT_MNT))) in selinux_fs_context_submount()
2807 if (sbsec->flags & DEFCONTEXT_MNT) in selinux_fs_context_submount()