Home
last modified time | relevance | path

Searched refs:rootcontext_sid (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/security/selinux/
Dhooks.c656 u32 fscontext_sid = 0, context_sid = 0, rootcontext_sid = 0; in selinux_set_mnt_opts() local
723 rc = parse_sid(sb, opts->rootcontext, &rootcontext_sid); in selinux_set_mnt_opts()
727 rootcontext_sid)) in selinux_set_mnt_opts()
785 if (context_sid || fscontext_sid || rootcontext_sid || in selinux_set_mnt_opts()
835 if (!rootcontext_sid) in selinux_set_mnt_opts()
836 rootcontext_sid = context_sid; in selinux_set_mnt_opts()
842 if (rootcontext_sid) { in selinux_set_mnt_opts()
843 rc = may_context_mount_inode_relabel(rootcontext_sid, sbsec, in selinux_set_mnt_opts()
848 root_isec->sid = rootcontext_sid; in selinux_set_mnt_opts()