[PATCH -next -v4 06/17] LSM: pass struct path and struct file to the inode posix acl hooks
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Tue Nov 17 15:07:05 UTC 2026
> Convert the inode_set_acl, inode_get_acl and inode_remove_acl hooks and
> their SELinux, Smack, EVM and IMA implementations to take a const struct
> path instead of a dentry. The implementations derive the dentry they
> still need from the path, and the idmap stays a separate argument.
>
> Also pass the struct file through which the operation is requested, when
> there is one, for the same reason as for the xattr hooks, and add strong
> definitions of the three bpf_lsm_* stubs naming it file__nullable.
>
> 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/20261117150542.1169451-1-caixinchen1@huawei.com?part=6
More information about the Linux-security-module-archive
mailing list