[PATCH] cleanup in proc_check_chroot()
authorHerbert Poetzl <herbert@13thfloor.at>
Fri, 31 Mar 2006 10:31:35 +0000 (02:31 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:59 +0000 (12:18 -0800)
commite4e5d3fc80d26ed26ebe42907b224f08d7eccfbf
tree081fc0bb38f91caa3b546ae030c03b87e3807b04
parent158d9ebd19280582da172626ad3edda1a626dace
[PATCH] cleanup in proc_check_chroot()

proc_check_chroot() does the check in a very unintuitive way (keeping a
copy of the argument, then modifying the argument), and has uncommented
sideeffects.

Signed-off-by: Herbert Poetzl <herbert@13thfloor.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c