s390: remove task_show_regs
commit780a56a9ead19b8605dc6a67cf3e1160eb780a04
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Feb 2011 08:43:32 +0000 (15 09:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Feb 2011 22:54:30 +0000 (24 14:54 -0800)
tree48e5fd468059f8aa80961c42507fdcf49e8d7d99
parent4ac3a3e2845648ddbfdf62dde6eb5e50eb1b4a8c
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