mbox series

[0/2] exit: Introduce __WCHILDSIGINFO for waitid

Message ID 20220214213823.3297816-1-keescook@chromium.org (mailing list archive)
Headers show
Series exit: Introduce __WCHILDSIGINFO for waitid | expand

Message

Kees Cook Feb. 14, 2022, 9:38 p.m. UTC
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(-)