Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/
Dhooks.c344 u32 context_sid; member
612 u32 fscontext_sid = 0, context_sid = 0, rootcontext_sid = 0; in selinux_set_mnt_opts() local
667 if (opts->context_sid) { in selinux_set_mnt_opts()
668 context_sid = opts->context_sid; in selinux_set_mnt_opts()
670 context_sid)) in selinux_set_mnt_opts()
737 if (context_sid || fscontext_sid || rootcontext_sid || in selinux_set_mnt_opts()
769 if (kern_flags & SECURITY_LSM_NATIVE_LABELS && !context_sid) { in selinux_set_mnt_opts()
774 if (context_sid) { in selinux_set_mnt_opts()
776 rc = may_context_mount_sb_relabel(context_sid, sbsec, in selinux_set_mnt_opts()
780 sbsec->sid = context_sid; in selinux_set_mnt_opts()
[all …]