diff options
author | Peter Oberparleiter <oberpar@linux.ibm.com> | 2021-06-09 14:05:56 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-06-18 16:41:19 +0200 |
commit | d2beeb3bc74ec897ced7309c3a104fa4b3be0ac3 (patch) | |
tree | 2324a0cad5525e3d1929a86bd684108a057db0c4 /arch/nds32 | |
parent | 6a9100ad132c61e4ff345277862e3fecfb7cdf0e (diff) | |
download | linux-d2beeb3bc74ec897ced7309c3a104fa4b3be0ac3.tar.bz2 |
s390/debug: Remove pointer obfuscation
When read via debugfs, s390dbf debug-views print the kernel address of
the call-site that created a trace entry. The kernel's %p pointer
hashing feature obfuscates this address, and commit 860ec7c6e21c
("s390/debug: use pK for kernel pointers") made this obfuscation
configurable via the kptr_restrict sysctl.
Obfuscation of kernel address data printed via s390dbf debug-views does
not add any additional protection since the associated debugfs files are
only accessible to the root user that typically has enough other means
to obtain kernel address data.
Also trace payload data may contain binary representations of kernel
addresses as part of logged data structues. Requiring such payload data
to be obfuscated as well would be impractical and greatly diminish the
use of s390dbf.
Therefore completely remove pointer obfuscation from s390dbf
debug-views.
Reviewed-by: Steffen Maier <maier@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/nds32')
0 files changed, 0 insertions, 0 deletions