Lines Matching refs:CONTEXT_MNT
549 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()
2627 if (bad_option(sbsec, CONTEXT_MNT, sbsec->mntpoint_sid, sid)) in selinux_sb_remount()