• Christian Brauner's avatar
    evm: remove evm_xattr_acl_change() · e10796b8
    Christian Brauner authored
    
    
    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: default avatarPaul Moore <paul@paul-moore.com>
    Signed-off-by: default avatarChristian Brauner (Microsoft) <brauner@kernel.org>
    e10796b8
evm_main.c 24.9 KB