Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/include/
H A Dsecurity.h58 #define CONTEXT_MNT 0x01 macro
/openbmc/linux/security/selinux/
H A Dhooks.c693 if (bad_option(sbsec, CONTEXT_MNT, sbsec->mntpoint_sid, in selinux_set_mnt_opts()
696 sbsec->flags |= CONTEXT_MNT; in selinux_set_mnt_opts()
881 if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid) in selinux_cmp_sb_context()
910 int set_context = (oldsbsec->flags & CONTEXT_MNT); in selinux_sb_clone_mnt_opts()
1089 if (sbsec->flags & CONTEXT_MNT) { in selinux_sb_show_options()
2660 if (bad_option(sbsec, CONTEXT_MNT, sbsec->mntpoint_sid, in selinux_sb_mnt_opts_compat()
2697 if (bad_option(sbsec, CONTEXT_MNT, sbsec->mntpoint_sid, in selinux_sb_remount()
2783 if (!(sbsec->flags & (FSCONTEXT_MNT|CONTEXT_MNT|DEFCONTEXT_MNT))) in selinux_fs_context_submount()
2792 if (sbsec->flags & CONTEXT_MNT) in selinux_fs_context_submount()