Home
last modified time | relevance | path

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

/security/selinux/include/
Dsecurity.h55 #define DEFCONTEXT_MNT 0x08 macro
/security/selinux/
Dhooks.c556 if (sbsec->flags & DEFCONTEXT_MNT) { in selinux_get_mnt_opts()
561 opts->mnt_opts_flags[i++] = DEFCONTEXT_MNT; in selinux_get_mnt_opts()
711 case DEFCONTEXT_MNT: in selinux_set_mnt_opts()
714 if (bad_option(sbsec, DEFCONTEXT_MNT, sbsec->def_sid, in selinux_set_mnt_opts()
718 sbsec->flags |= DEFCONTEXT_MNT; in selinux_set_mnt_opts()
850 if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid) in selinux_cmp_sb_context()
1031 opts->mnt_opts_flags[num_mnt_opts++] = DEFCONTEXT_MNT; in selinux_parse_opts_str()
1096 case DEFCONTEXT_MNT: in selinux_write_opts()
2638 case DEFCONTEXT_MNT: in selinux_sb_remount()
2639 if (bad_option(sbsec, DEFCONTEXT_MNT, sbsec->def_sid, sid)) in selinux_sb_remount()