Home
last modified time | relevance | path

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

/linux-6.12.1/security/selinux/include/
Dsecurity.h58 #define CONTEXT_MNT 0x01 macro
/linux-6.12.1/security/selinux/
Dhooks.c700 if (bad_option(sbsec, CONTEXT_MNT, sbsec->mntpoint_sid, in selinux_set_mnt_opts()
703 sbsec->flags |= CONTEXT_MNT; in selinux_set_mnt_opts()
888 if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid) in selinux_cmp_sb_context()
917 int set_context = (oldsbsec->flags & CONTEXT_MNT); in selinux_sb_clone_mnt_opts()
1096 if (sbsec->flags & CONTEXT_MNT) { in selinux_sb_show_options()
2673 if (bad_option(sbsec, CONTEXT_MNT, sbsec->mntpoint_sid, in selinux_sb_mnt_opts_compat()
2710 if (bad_option(sbsec, CONTEXT_MNT, sbsec->mntpoint_sid, in selinux_sb_remount()
2796 if (!(sbsec->flags & (FSCONTEXT_MNT|CONTEXT_MNT|DEFCONTEXT_MNT))) in selinux_fs_context_submount()
2805 if (sbsec->flags & CONTEXT_MNT) in selinux_fs_context_submount()