]> Git Repo - linux.git/commit
Don't allow chmod() on the /proc/<pid>/ files
authorLinus Torvalds <[email protected]>
Sat, 15 Jul 2006 19:26:45 +0000 (12:26 -0700)
committerLinus Torvalds <[email protected]>
Sat, 15 Jul 2006 19:26:45 +0000 (12:26 -0700)
commit6d76fa58b050044994fe25f8753b8023f2b36737
tree86964d8aeb297fe4346f73d812519646c7fdca20
parent92d032855e64834283de5acfb0463232e0ab128e
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 <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/base.c
This page took 0.053536 seconds and 4 git commands to generate.