[PATCH 0/2] exit: Introduce __WCHILDSIGINFO for waitid

From: Kees Cook
Date: Mon Feb 14 2022 - 16:38:36 EST


Hi,

Okay, here's a working version of this. Is adding 48 bytes into task
struct worth it? Can this be improved, and is the non-signal-exit logic
for __WCHILDSIGINFO sane?

Other thoughts?

-Kees

Kees Cook (2):
exit: Introduce __WCHILDSIGINFO for waitid
selftests/seccomp: Check for waitid() behavior

include/linux/sched.h | 1 +
include/uapi/linux/wait.h | 1 +
kernel/exit.c | 23 +++-
kernel/signal.c | 4 +
tools/testing/selftests/seccomp/seccomp_bpf.c | 130 ++++++++++++++++++
5 files changed, 155 insertions(+), 4 deletions(-)

--
2.30.2