Files
linux-net/fs/proc/internal.h
Christoph Hellwig 690005b0b1 proc: rename proc_setattr to proc_nochmod_setattr
What is currently proc_setattr is a special version added after the more
general procfs ->seattr in commit 6d76fa58b0 ("Don't allow chmod() on
the /proc/<pid>/ files").  Give it a name that reflects that to free the
proc_setattr name and better describe what is doing.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260325063711.3298685-5-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2026-03-26 15:16:54 +01:00

12 KiB