evm: remove evm_xattr_acl_change()
authorChristian Brauner <brauner@kernel.org>
Thu, 22 Sep 2022 15:17:15 +0000 (17:17 +0200)
committerChristian Brauner (Microsoft) <brauner@kernel.org>
Thu, 20 Oct 2022 08:13:31 +0000 (10:13 +0200)
commite10796b87e1d1bad593c89c5e8cc2e0992bd1335
tree947366545b6ea20469b8c899e50daa3ad6b3d40d
parent318e66856ddec05384f32d60b5598128289f4e7b
evm: remove evm_xattr_acl_change()

The security and integrity infrastructure has dedicated hooks now so
evm_xattr_acl_change() is dead code. Before this commit the callchain was:

evm_protect_xattr()
-> evm_xattr_change()
   -> evm_xattr_acl_change()

where evm_protect_xattr() was hit from evm_inode_setxattr() and
evm_inode_removexattr(). But now we have evm_inode_set_acl() and
evm_inode_remove_acl() and have switched over the vfs to rely on the posix
acl api so the code isn't hit anymore.

Suggested-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
security/integrity/evm/evm_main.c