Home
last modified time | relevance | path

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

/Linux-v4.19/security/selinux/include/
Dsecurity.h54 #define ROOTCONTEXT_MNT 0x04 macro
/Linux-v4.19/security/selinux/
Dhooks.c669 if (sbsec->flags & ROOTCONTEXT_MNT) { in selinux_get_mnt_opts()
678 opts->mnt_opts_flags[i++] = ROOTCONTEXT_MNT; in selinux_get_mnt_opts()
811 case ROOTCONTEXT_MNT: in selinux_set_mnt_opts()
814 if (bad_option(sbsec, ROOTCONTEXT_MNT, root_isec->sid, in selinux_set_mnt_opts()
818 sbsec->flags |= ROOTCONTEXT_MNT; in selinux_set_mnt_opts()
992 if (oldflags & ROOTCONTEXT_MNT) { in selinux_cmp_sb_context()
1017 int set_rootcontext = (oldsbsec->flags & ROOTCONTEXT_MNT); in selinux_sb_clone_mnt_opts()
1186 opts->mnt_opts_flags[num_mnt_opts++] = ROOTCONTEXT_MNT; in selinux_parse_opts_str()
1253 case ROOTCONTEXT_MNT: in selinux_write_opts()
2891 case ROOTCONTEXT_MNT: { in selinux_sb_remount()
[all …]