Searched refs:newsbsec (Results 1 – 1 of 1) sorted by relevance
874 struct superblock_security_struct *newsbsec = selinux_superblock(newsb); in selinux_sb_clone_mnt_opts() local898 if (newsbsec->flags & SE_SBINITIALIZED) { in selinux_sb_clone_mnt_opts()904 mutex_lock(&newsbsec->lock); in selinux_sb_clone_mnt_opts()906 newsbsec->flags = oldsbsec->flags; in selinux_sb_clone_mnt_opts()908 newsbsec->sid = oldsbsec->sid; in selinux_sb_clone_mnt_opts()909 newsbsec->def_sid = oldsbsec->def_sid; in selinux_sb_clone_mnt_opts()910 newsbsec->behavior = oldsbsec->behavior; in selinux_sb_clone_mnt_opts()912 if (newsbsec->behavior == SECURITY_FS_USE_NATIVE && in selinux_sb_clone_mnt_opts()920 newsbsec->behavior = SECURITY_FS_USE_NATIVE; in selinux_sb_clone_mnt_opts()928 newsbsec->sid = sid; in selinux_sb_clone_mnt_opts()[all …]