[PATCH -next -v4 12/17] LSM: rename the inode fileattr hooks to path_file_* hooks

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 17 15:02:05 UTC 2026


Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] lsm: commit message inaccurately claims BPF selftests are
  updated
--

commit 27da61e3999728511dec6dab29db3e99aa1b60d3
Author: Cai Xinchen <caixinchen1 at huawei.com>

LSM: rename the inode fileattr hooks to path_file_* hooks

This commit renames the inode_file_getattr and inode_file_setattr LSM hooks,
their security_*() wrappers, SELinux implementations, and BPF LSM strong
definitions to path_file_getattr and path_file_setattr.

> Update the BPF selftests and the strong definitions in
> kernel/bpf/bpf_lsm_proto.c.

[Severity: Low]
This isn't a bug, but no BPF selftests are modified by this commit, so the
reference to updating the BPF selftests in the commit message should be
dropped.

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



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