diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-10-28 09:46:00 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-04 22:04:46 +0100 |
| commit | 8b64f54c81d5baaef7fe117caa2f565be50ba440 (patch) | |
| tree | b2a1b6aac172d39919107305eb32f07f074197ce /net/unix/af_unix.c | |
| parent | 32ae9fa4063a7b4295e0c82d8f13bf3da6523e2d (diff) | |
selftests/coredump: fix userspace coredump client detection
PIDFD_INFO_COREDUMP is only retrievable until the task has exited. After
it has exited task->mm is NULL. So if the task didn't actually coredump
we can't retrieve it's dumpability settings anymore. Only if the task
did coredump will we have stashed the coredump information in the
respective struct pid.
Link: https://patch.msgid.link/20251028-work-coredump-signal-v1-15-ca449b7b7aa0@kernel.org
Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
