Lines Matching refs:defcontext_sid
376 u32 defcontext_sid; member
639 u32 defcontext_sid = 0; in selinux_set_mnt_opts() local
712 if (opts->defcontext_sid) { in selinux_set_mnt_opts()
713 defcontext_sid = opts->defcontext_sid; in selinux_set_mnt_opts()
715 defcontext_sid)) in selinux_set_mnt_opts()
769 defcontext_sid) { in selinux_set_mnt_opts()
844 if (defcontext_sid) { in selinux_set_mnt_opts()
853 if (defcontext_sid != sbsec->def_sid) { in selinux_set_mnt_opts()
854 rc = may_context_mount_inode_relabel(defcontext_sid, in selinux_set_mnt_opts()
860 sbsec->def_sid = defcontext_sid; in selinux_set_mnt_opts()
1023 if (opts->context_sid || opts->defcontext_sid) in selinux_add_opt()
1038 if (opts->context_sid || opts->defcontext_sid) in selinux_add_opt()
1040 dst_sid = &opts->defcontext_sid; in selinux_add_opt()
2685 if (opts->defcontext_sid) { in selinux_sb_mnt_opts_compat()
2687 opts->defcontext_sid)) in selinux_sb_mnt_opts_compat()
2721 if (opts->defcontext_sid) { in selinux_sb_remount()
2723 opts->defcontext_sid)) in selinux_sb_remount()
2808 opts->defcontext_sid = sbsec->def_sid; in selinux_fs_context_submount()