[PATCH 1/6] security_dentry_init_security(): constify qstr argument

Christian Brauner brauner at kernel.org
Mon Sep 15 12:45:07 UTC 2025


On Thu, Sep 11, 2025 at 06:05:29AM +0100, Al Viro wrote:
> Nothing outside of fs/dcache.c has any business modifying
> dentry names; passing &dentry->d_name as an argument should
> have that argument declared as a const pointer.
> 
> Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
> ---

Reviewed-by: Christian Brauner <brauner at kernel.org>



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