s390: remove task_show_regs
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Feb 2011 08:43:32 +0000 (09:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:53:06 +0000 (16:53 +0200)
commit55d2f9c45b22e461a476f5681a4114b42d71793f
tree10a54f0f093e60fc149b7a7d2f809c6b45520059
parentc26a21fae0a3ff80b169d62dcff3678e0a00e944
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>
arch/s390/include/asm/processor.h
arch/s390/kernel/traps.c
fs/proc/array.c