diff options
author | Linus Torvalds | 2017-11-27 16:45:56 -0800 |
---|---|---|
committer | Linus Torvalds | 2017-11-27 16:45:56 -0800 |
commit | 8f5abe842e84ba9e72485ddd9dc02a3562b54e2a (patch) | |
tree | fc791e24ad719f40949baa26323b2ee9185a9a05 /fs/proc/fd.c | |
parent | 1751e8a6cb935e555fcdbcb9ab4f0446e322ca3e (diff) |
proc: don't report kernel addresses in /proc/<pid>/stack
This just changes the file to report them as zero, although maybe even
that could be removed. I checked, and at least procps doesn't actually
seem to parse the 'stack' file at all.
And since the file doesn't necessarily even exist (it requires
CONFIG_STACKTRACE), possibly other tools don't really use it either.
That said, in case somebody parses it with tools, just having that zero
there should keep such tools happy.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/fd.c')
0 files changed, 0 insertions, 0 deletions