Home
last modified time | relevance | path

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

/security/selinux/
Dhooks.c320 struct superblock_security_struct *sbsec; in inode_free_security() local
324 sbsec = selinux_superblock(inode->i_sb); in inode_free_security()
336 spin_lock(&sbsec->isec_lock); in inode_free_security()
338 spin_unlock(&sbsec->isec_lock); in inode_free_security()
400 struct superblock_security_struct *sbsec, in may_context_mount_sb_relabel() argument
407 tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel()
419 struct superblock_security_struct *sbsec, in may_context_mount_inode_relabel() argument
425 tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel()
431 sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel()
451 struct superblock_security_struct *sbsec = selinux_superblock(sb); in selinux_is_sblabel_mnt() local
[all …]
/security/selinux/ss/
Dservices.c2981 struct superblock_security_struct *sbsec = selinux_superblock(sb); in security_fs_use() local
2985 sbsec->behavior = SECURITY_FS_USE_NONE; in security_fs_use()
2986 sbsec->sid = SECINITSID_UNLABELED; in security_fs_use()
3004 sbsec->behavior = c->v.behavior; in security_fs_use()
3005 rc = ocontext_to_sid(sidtab, c, 0, &sbsec->sid); in security_fs_use()
3014 SECCLASS_DIR, &sbsec->sid); in security_fs_use()
3020 sbsec->behavior = SECURITY_FS_USE_NONE; in security_fs_use()
3023 sbsec->behavior = SECURITY_FS_USE_GENFS; in security_fs_use()