Re: [PATCH v3 0/2] fix reading ESP during coredump

2025-01-04 Thread Christian Brauner
On Thu, 02 Jan 2025 09:22:55 +0100, Nam Cao wrote: > 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 du

[PATCH v3 0/2] fix reading ESP during coredump

2025-01-02 Thread Nam Cao
Hi, 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