Searched hist:cb89e2465896f30d4247ac9ff47d30522e39745a (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/selinux/ |
H A D | hooks.c | diff cb89e2465896f30d4247ac9ff47d30522e39745a Fri Jan 10 15:32:10 CST 2020 Paul Moore <paul@paul-moore.com> selinux: remove redundant allocation and helper functions
This patch removes the inode, file, and superblock security blob allocation functions and moves the associated code into the respective LSM hooks. This patch also removes the inode_doinit() function as it was a trivial wrapper around inode_doinit_with_dentry() and called from one location in the code.
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <paul@paul-moore.com>
|