Home
last modified time | relevance | path

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

/security/selinux/
Dhooks.c923 struct superblock_security_struct *newsbsec = newsb->s_security; in selinux_sb_clone_mnt_opts() local
947 if (newsbsec->flags & SE_SBINITIALIZED) { in selinux_sb_clone_mnt_opts()
953 mutex_lock(&newsbsec->lock); in selinux_sb_clone_mnt_opts()
955 newsbsec->flags = oldsbsec->flags; in selinux_sb_clone_mnt_opts()
957 newsbsec->sid = oldsbsec->sid; in selinux_sb_clone_mnt_opts()
958 newsbsec->def_sid = oldsbsec->def_sid; in selinux_sb_clone_mnt_opts()
959 newsbsec->behavior = oldsbsec->behavior; in selinux_sb_clone_mnt_opts()
961 if (newsbsec->behavior == SECURITY_FS_USE_NATIVE && in selinux_sb_clone_mnt_opts()
969 newsbsec->behavior = SECURITY_FS_USE_NATIVE; in selinux_sb_clone_mnt_opts()
977 newsbsec->sid = sid; in selinux_sb_clone_mnt_opts()
[all …]