Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/
Dhooks.c343 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()
[all …]