Home
last modified time | relevance | path

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

/Linux-v5.15/security/selinux/
Dhooks.c929 const struct superblock_security_struct *oldsbsec = in selinux_sb_clone_mnt_opts() local
933 int set_fscontext = (oldsbsec->flags & FSCONTEXT_MNT); in selinux_sb_clone_mnt_opts()
934 int set_context = (oldsbsec->flags & CONTEXT_MNT); in selinux_sb_clone_mnt_opts()
935 int set_rootcontext = (oldsbsec->flags & ROOTCONTEXT_MNT); in selinux_sb_clone_mnt_opts()
952 BUG_ON(!(oldsbsec->flags & SE_SBINITIALIZED)); in selinux_sb_clone_mnt_opts()
963 newsbsec->flags = oldsbsec->flags; in selinux_sb_clone_mnt_opts()
965 newsbsec->sid = oldsbsec->sid; in selinux_sb_clone_mnt_opts()
966 newsbsec->def_sid = oldsbsec->def_sid; in selinux_sb_clone_mnt_opts()
967 newsbsec->behavior = oldsbsec->behavior; in selinux_sb_clone_mnt_opts()
982 u32 sid = oldsbsec->mntpoint_sid; in selinux_sb_clone_mnt_opts()