linux/fs/proc
Linus Torvalds 6d76fa58b0 Don't allow chmod() on the /proc/<pid>/ files
This just turns off chmod() on the /proc/<pid>/ files, since there is no
good reason to allow it, and had we disallowed it originally, the nasty
/proc race exploit wouldn't have been possible.

The other patches already fixed the problem chmod() could cause, so this
is really just some final mop-up..

This particular version is based off a patch by Eugene and Marcel which
had much better naming than my original equivalent one.

Signed-off-by: Eugene Teo <eteo@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-15 12:26:45 -07:00
..
Makefile
array.c [PATCH] per-task-delay-accounting: /proc export of aggregated block I/O delays 2006-07-14 21:53:57 -07:00
base.c Don't allow chmod() on the /proc/<pid>/ files 2006-07-15 12:26:45 -07:00
generic.c
inode-alloc.txt
inode.c Mark /proc MS_NOSUID and MS_NOEXEC 2006-07-15 12:20:05 -07:00
internal.h
kcore.c [PATCH] /fs/proc/: 'larger than buffer size' memory accessed by clear_user() 2006-07-12 12:52:55 -07:00
kmsg.c
mmu.c
nommu.c
proc_devtree.c
proc_misc.c
proc_tty.c
root.c
task_mmu.c
task_nommu.c
vmcore.c