diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-02-15 09:43:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-02 09:46:49 -0500 |
commit | 1f691f2928410aaadbf16bc9c536dd7d03598dfa (patch) | |
tree | a3832d2d3425d70eef403ac6cbec6e99a5b5d1e9 /fs | |
parent | ac7a465e197ef2c0e469143bc6fd97cd3ebe4591 (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 975bb5bb83f..2adedda6aab 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -336,9 +336,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; } |