]> git.ipfire.org Git - people/ms/linux.git/commit
[PATCH] Insanity avoidance in /proc (CVE-2005-4605)
authorLinus Torvalds <torvalds@osdl.org>
Fri, 30 Dec 2005 17:59:56 +0000 (09:59 -0800)
committerChris Wright <chrisw@sous-sol.org>
Sun, 8 Jan 2006 02:15:08 +0000 (18:15 -0800)
commiteb558037b4bb4d965eb36df1def531ce7899254e
tree85de8b4ca20b083bf630ad289e649677db143655
parent3946ca0255c5b6d96310d1462b5b9baf0f64aafe
[PATCH] Insanity avoidance in /proc (CVE-2005-4605)

Insanity avoidance in /proc

The old /proc interfaces were never updated to use loff_t, and are just
generally broken.  Now, we should be using the seq_file interface for
all of the proc files, but converting the legacy functions is more work
than most people care for and has little upside..

But at least we can make the non-LFS rules explicit, rather than just
insanely wrapping the offset or something.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/proc/generic.c