aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/policydb.c
diff options
context:
space:
mode:
authorGONG, Ruiqi <gongruiqi1@huawei.com>2022-01-25 15:11:33 +0800
committerPaul Moore <paul@paul-moore.com>2022-01-25 18:46:04 -0500
commit0266c25e7c2821181b610595df42cbca6bc93cb8 (patch)
treec52388639f49b91905633522efe41b98c7b3e12d /security/selinux/ss/policydb.c
parentLinux 5.17-rc1 (diff)
downloadlinux-dev-0266c25e7c2821181b610595df42cbca6bc93cb8.tar.xz
linux-dev-0266c25e7c2821181b610595df42cbca6bc93cb8.zip
selinux: access superblock_security_struct in LSM blob way
LSM blob has been involved for superblock's security struct. So fix the remaining direct access to sb->s_security by using the LSM blob mechanism. Fixes: 08abe46b2cfc ("selinux: fall back to SECURITY_FS_USE_GENFS if no xattr support") Fixes: 69c4a42d72eb ("lsm,selinux: add new hook to compare new mount to an existing mount") Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com> Reviewed-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss/policydb.c')
0 files changed, 0 insertions, 0 deletions