Allow reading tainted flag as user
authorBastian Blank <bastian@waldi.eu.org>
Mon, 23 Apr 2007 21:41:14 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 24 Apr 2007 15:23:08 +0000 (08:23 -0700)
commit91fcd412e957f433e9f1abeb0b1926dbeb66ca80
tree0ae836c99a78db1e4a962ce064c471a79c9e20f3
parent94e22e13ad063c614b458a019b428ffc118e5c06
Allow reading tainted flag as user

The commit 34f5a39899f3f3e815da64f48ddb72942d86c366 restricted reading
of the tainted value. The attached patch changes this back to a
write-only check and restores the read behaviour of older versions.

Signed-off-by: Bastian Blank <bastian@waldi.eu.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sysctl.c