Lines Matching refs:defcontext
396 const char *fscontext, *context, *rootcontext, *defcontext; member
405 kfree(opts->defcontext); in selinux_free_mnt_opts()
432 A(defcontext, true),
731 if (opts->defcontext) { in selinux_set_mnt_opts()
732 rc = parse_sid(sb, opts->defcontext, &defcontext_sid); in selinux_set_mnt_opts()
1012 if (opts->context || opts->defcontext) in selinux_add_opt()
1027 if (opts->context || opts->defcontext) in selinux_add_opt()
1029 opts->defcontext = s; in selinux_add_opt()
2718 if (opts->defcontext) { in selinux_sb_remount()
2719 rc = parse_sid(sb, opts->defcontext, &sid); in selinux_sb_remount()
2807 if (src->defcontext) { in selinux_fs_context_dup()
2808 opts->defcontext = kstrdup(src->defcontext, GFP_KERNEL); in selinux_fs_context_dup()
2809 if (!opts->defcontext) in selinux_fs_context_dup()