Lines Matching refs:fscontext_sid
343 u32 fscontext_sid; member
612 u32 fscontext_sid = 0, context_sid = 0, rootcontext_sid = 0; in selinux_set_mnt_opts() local
660 if (opts->fscontext_sid) { in selinux_set_mnt_opts()
661 fscontext_sid = opts->fscontext_sid; in selinux_set_mnt_opts()
663 fscontext_sid)) in selinux_set_mnt_opts()
737 if (context_sid || fscontext_sid || rootcontext_sid || in selinux_set_mnt_opts()
756 if (fscontext_sid) { in selinux_set_mnt_opts()
757 rc = may_context_mount_sb_relabel(fscontext_sid, sbsec, cred); in selinux_set_mnt_opts()
761 sbsec->sid = fscontext_sid; in selinux_set_mnt_opts()
775 if (!fscontext_sid) { in selinux_set_mnt_opts()
982 if (opts->fscontext_sid) in selinux_add_opt()
984 dst_sid = &opts->fscontext_sid; in selinux_add_opt()
2650 if (opts->fscontext_sid) { in selinux_sb_mnt_opts_compat()
2652 opts->fscontext_sid)) in selinux_sb_mnt_opts_compat()
2687 if (opts->fscontext_sid) { in selinux_sb_remount()
2689 opts->fscontext_sid)) in selinux_sb_remount()