]> git.baikalelectronics.ru Git - kernel.git/commit
Fix nasty /proc vulnerability
authorLinus Torvalds <torvalds@g5.osdl.org>
Fri, 14 Jul 2006 23:51:34 +0000 (16:51 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 14 Jul 2006 23:51:34 +0000 (16:51 -0700)
commitb9ecc50d3150165c793d9bba2a380bca1f387277
treeb1a9c89bc546a71924ed7253f2f27afdeb82d297
parent7fcde6f88aa8c0714f909b36bea7a8c883de998c
Fix nasty /proc vulnerability

We have a bad interaction with both the kernel and user space being able
to change some of the /proc file status.  This fixes the most obvious
part of it, but I expect we'll also make it harder for users to modify
even their "own" files in /proc.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c