diff options
| author | Christian Brauner <[email protected]> | 2025-01-04 08:56:42 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-01-04 09:12:19 +0000 |
| commit | 6a4ef7a2ff4dfdb7b345b13bd74fc68fe351bb45 (patch) | |
| tree | 785e008a7ebbfceed344f84b34bfdef5d0810d96 /lib/lockref.c | |
| parent | pipe_read: don't wake up the writer if the pipe is still full (diff) | |
| parent | selftests: coredump: Add stackdump test (diff) | |
| download | kernel-6a4ef7a2ff4dfdb7b345b13bd74fc68fe351bb45.tar.gz kernel-6a4ef7a2ff4dfdb7b345b13bd74fc68fe351bb45.zip | |
Merge patch series "fix reading ESP during coredump"
Nam Cao <[email protected]> says:
In /proc/PID/stat, there is the kstkesp field which is the stack pointer of
a thread. While the thread is active, this field reads zero. But during a
coredump, it should have a valid value.
However, at the moment, kstkesp is zero even during coredump.
The first commit fixes this problem, and the second commit adds a selftest
to detect if this problem appears again in the future.
* patches from https://lore.kernel.org/r/[email protected]:
selftests: coredump: Add stackdump test
fs/proc: do_task_stat: Fix ESP not readable during coredump
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions
