Files
linux/fs
Christian Brauner 6a4ef7a2ff Merge patch series "fix reading ESP during coredump"
Nam Cao <namcao@linutronix.de> 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/cover.1735805772.git.namcao@linutronix.de:
  selftests: coredump: Add stackdump test
  fs/proc: do_task_stat: Fix ESP not readable during coredump

Link: https://lore.kernel.org/r/cover.1735805772.git.namcao@linutronix.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-01-04 10:12:19 +01:00
..
2024-11-25 17:08:27 +09:00
2024-12-22 11:29:50 +01:00
2024-10-17 00:28:06 -07:00
2024-11-26 18:15:06 +01:00
2024-05-28 11:52:53 +02:00
2024-08-21 22:32:58 +02:00
2024-11-03 01:28:06 -05:00
2024-11-03 01:28:06 -05:00
2024-11-03 01:28:06 -05:00
2024-10-21 16:29:38 +02:00
2024-11-03 01:28:06 -05:00
2024-10-21 16:29:38 +02:00
2024-09-27 08:18:43 -07:00
2024-10-24 13:54:51 +02:00
2024-11-03 01:28:07 -05:00
2024-11-03 01:28:07 -05:00
2024-11-03 01:28:06 -05:00
2024-11-03 01:28:06 -05:00
2024-11-03 01:28:06 -05:00
2024-11-03 01:28:06 -05:00