diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-02-15 09:43:32 +0100 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2011-04-30 16:53:06 +0200 |
commit | 55d2f9c45b22e461a476f5681a4114b42d71793f (patch) | |
tree | 10a54f0f093e60fc149b7a7d2f809c6b45520059 /fs | |
parent | c26a21fae0a3ff80b169d62dcff3678e0a00e944 (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/array.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index c0cf3bfc9d72..7b7f65435595 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -331,9 +331,6 @@ int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, task_sig(m, task); task_cap(m, task); cpuset_task_status_allowed(m, task); -#if defined(CONFIG_S390) - task_show_regs(m, task); -#endif task_context_switch_counts(m, task); return 0; } |