summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-02-05 05:39:50 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2025-09-16 04:08:33 +0300
commit3edcd68e35a7ad21186dbe9f74fad59cdcd24d71 (patch)
tree96808d84fb88f52cbb0858b635d654c348d9e979 /security/selinux/hooks.c
parent2974831dd5d298d18d0ea87ec46a84e920731efa (diff)
downloadlinux-3edcd68e35a7ad21186dbe9f74fad59cdcd24d71.tar.xz
afs_edit_dir_{add,remove}(): constify qstr argument
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. Reviewed-by: David Howells <dhowells@redhat.com> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions