[PATCH -next -v4 13/17] LSM: rename inode_setsecctx to path_setsecctx

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 17 14:59:30 UTC 2026


> The inode_setsecctx hook receives a struct path, so rename it to
> path_setsecctx and rename security_inode_setsecctx() and the SELinux and
> Smack implementations accordingly.  The exported symbol is renamed as
> well, so out-of-tree modules calling security_inode_setsecctx() have to
> be updated.  Nothing under tools/ attaches to this hook.
> 
> 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=13




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