Home
last modified time | relevance | path

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

/security/selinux/include/
Dsecurity.h52 #define CONTEXT_MNT 0x01 macro
/security/selinux/
Dhooks.c549 if (sbsec->flags & CONTEXT_MNT) { in selinux_get_mnt_opts()
554 opts->mnt_opts_flags[i++] = CONTEXT_MNT; in selinux_get_mnt_opts()
692 case CONTEXT_MNT: in selinux_set_mnt_opts()
695 if (bad_option(sbsec, CONTEXT_MNT, sbsec->mntpoint_sid, in selinux_set_mnt_opts()
699 sbsec->flags |= CONTEXT_MNT; in selinux_set_mnt_opts()
848 if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid) in selinux_cmp_sb_context()
873 int set_context = (oldsbsec->flags & CONTEXT_MNT); in selinux_sb_clone_mnt_opts()
1023 opts->mnt_opts_flags[num_mnt_opts++] = CONTEXT_MNT; in selinux_parse_opts_str()
1087 case CONTEXT_MNT: in selinux_write_opts()
2626 case CONTEXT_MNT: in selinux_sb_remount()
[all …]