Lines Matching refs:rootcontext
396 const char *fscontext, *context, *rootcontext, *defcontext; member
404 kfree(opts->rootcontext); in selinux_free_mnt_opts()
433 A(rootcontext, true),
722 if (opts->rootcontext) { in selinux_set_mnt_opts()
723 rc = parse_sid(sb, opts->rootcontext, &rootcontext_sid); in selinux_set_mnt_opts()
1022 if (opts->rootcontext) in selinux_add_opt()
1024 opts->rootcontext = s; in selinux_add_opt()
2709 if (opts->rootcontext) { in selinux_sb_remount()
2712 rc = parse_sid(sb, opts->rootcontext, &sid); in selinux_sb_remount()
2802 if (src->rootcontext) { in selinux_fs_context_dup()
2803 opts->rootcontext = kstrdup(src->rootcontext, GFP_KERNEL); in selinux_fs_context_dup()
2804 if (!opts->rootcontext) in selinux_fs_context_dup()