]> git.hungrycats.org Git - linux/commit
[PATCH] fix permissions on the `tainted' sysctl
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Aug 2004 04:41:58 +0000 (21:41 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 04:41:58 +0000 (21:41 -0700)
commit6ac2d33dd830c905aea80b464201d2945fb7b990
treebe8e7c887c478e89ab9aafcca6e0998c6acefa1a
parentb4b67a05cf502b655fa5cfda56e2c0df976ddd84
[PATCH] fix permissions on the `tainted' sysctl

From: Arjan van de Ven <arjanv@redhat.com>

The patch below sets the tainted sysctl file to read only, otherwise
userspace can just overwrite/reset it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sysctl.c