mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 03:42:52 +00:00
9fe6299dde
When the kernel.print-fatal-signals sysctl has been enabled, a simple
userspace crash will cause the kernel to write a crash dump that contains,
among other things, the kernel gsbase into dmesg.
As suggested by Andy, limit output to pt_regs, FS_BASE and KERNEL_GS_BASE
in this case.
This also moves the bitness-specific logic from show_regs() into
process_{32,64}.c.
Fixes:
|
||
---|---|---|
.. | ||
asm | ||
uapi/asm |