diff options
| author | Linus Torvalds <[email protected]> | 2006-07-15 19:26:45 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-07-15 19:26:45 +0000 |
| commit | 6d76fa58b050044994fe25f8753b8023f2b36737 (patch) | |
| tree | 86964d8aeb297fe4346f73d812519646c7fdca20 /net/lapb/lapb_iface.c | |
| parent | Mark /proc MS_NOSUID and MS_NOEXEC (diff) | |
| download | kernel-6d76fa58b050044994fe25f8753b8023f2b36737.tar.gz kernel-6d76fa58b050044994fe25f8753b8023f2b36737.zip | |
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]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
