Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/
Dhooks.c920 const struct superblock_security_struct *oldsbsec = oldsb->s_security; in selinux_sb_clone_mnt_opts() local
923 int set_fscontext = (oldsbsec->flags & FSCONTEXT_MNT); in selinux_sb_clone_mnt_opts()
924 int set_context = (oldsbsec->flags & CONTEXT_MNT); in selinux_sb_clone_mnt_opts()
925 int set_rootcontext = (oldsbsec->flags & ROOTCONTEXT_MNT); in selinux_sb_clone_mnt_opts()
942 BUG_ON(!(oldsbsec->flags & SE_SBINITIALIZED)); in selinux_sb_clone_mnt_opts()
953 newsbsec->flags = oldsbsec->flags; in selinux_sb_clone_mnt_opts()
955 newsbsec->sid = oldsbsec->sid; in selinux_sb_clone_mnt_opts()
956 newsbsec->def_sid = oldsbsec->def_sid; in selinux_sb_clone_mnt_opts()
957 newsbsec->behavior = oldsbsec->behavior; in selinux_sb_clone_mnt_opts()
972 u32 sid = oldsbsec->mntpoint_sid; in selinux_sb_clone_mnt_opts()