]> git.neil.brown.name Git - history.git/commit
[PATCH] 2.5.40: fix chmod/chown on procfs
authorOlaf Dietsche <olaf.dietsche#list.linux-kernel@t-online.de>
Thu, 10 Oct 2002 05:31:57 +0000 (22:31 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 10 Oct 2002 05:31:57 +0000 (22:31 -0700)
commitd5f9873c6854e345555acf1ba84318d49e2730c3
tree0487ddcc7ce21e0e2b8599c5f71179b47addc8d8
parentbbb7d857081edec8e1d5ed29a79c42133e5bf5d7
[PATCH] 2.5.40: fix chmod/chown on procfs

This patch allows to change uid, gid and mode of files and directories
located in procfs.

Without this patch you can change uid, gid and mode as long as the
file is open. As soon as you close the file, it reverts back to its
default, which is root:root and readonly usually.
fs/proc/generic.c