]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390: remove task_show_regs
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Feb 2011 08:43:32 +0000 (09:43 +0100)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:58:07 +0000 (11:58 -0700)
commit6736d3bbb4c33f0e99cfdbfb74cbefeda7048c17
treedcb2191cbd111f3a9e35bb8de1b180e86cc7796c
parent06ba304f64519b48c7438e9ab48c74e1f0b772b0
s390: remove task_show_regs

commit 261cd298a8c363d7985e3482946edb4bfedacf98 upstream.

task_show_regs used to be a debugging aid in the early bringup days
of Linux on s390. /proc/<pid>/status is a world readable file, it
is not a good idea to show the registers of a process. The only
correct fix is to remove task_show_regs.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/traps.c
fs/proc/array.c