Searched refs:newsbsec (Results 1 – 1 of 1) sorted by relevance
907 struct superblock_security_struct *newsbsec = selinux_superblock(newsb); in selinux_sb_clone_mnt_opts() local920 mutex_lock(&newsbsec->lock); in selinux_sb_clone_mnt_opts()928 newsbsec->flags |= SE_SBNATIVE; in selinux_sb_clone_mnt_opts()938 if (newsbsec->flags & SE_SBINITIALIZED) { in selinux_sb_clone_mnt_opts()939 mutex_unlock(&newsbsec->lock); in selinux_sb_clone_mnt_opts()945 newsbsec->flags = oldsbsec->flags; in selinux_sb_clone_mnt_opts()947 newsbsec->sid = oldsbsec->sid; in selinux_sb_clone_mnt_opts()948 newsbsec->def_sid = oldsbsec->def_sid; in selinux_sb_clone_mnt_opts()949 newsbsec->behavior = oldsbsec->behavior; in selinux_sb_clone_mnt_opts()951 if (newsbsec->behavior == SECURITY_FS_USE_NATIVE && in selinux_sb_clone_mnt_opts()[all …]