[PATCH v3 -next 12/18] LSM: rename the inode posix acl hooks to path_*_acl hooks

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Oct 27 14:09:27 UTC 2026


> The inode_set_acl, inode_get_acl and inode_remove_acl hooks receive a
> struct path, so rename them to path_set_acl, path_get_acl and
> path_remove_acl to follow the path_* naming convention used for the
> other hooks that take a struct path (path_chmod, path_chown, ...).
> Rename the security_inode_*_acl() inline wrappers to
> security_path_*_acl() and the SELinux, Smack, EVM and IMA
> implementations accordingly.  The inode_post_set_acl and
> inode_post_remove_acl notification hooks still take a dentry and keep
> their names.
> 
> Signed-off-by: Cai Xinchen <caixinchen1 at huawei.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261027121151.1887650-1-caixinchen1@huawei.com?part=12




More information about the Linux-security-module-archive mailing list