]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7bc856b03e627010d9e8738259f64b04e395bc22
tree081fc0bb38f91caa3b546ae030c03b87e3807b04
parent8c10806a11dcf6707a159ba9aa2f95e2b9e15a2c
[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