linux-hardening.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] exit: Introduce __WCHILDSIGINFO for waitid
@ 2022-02-14 21:38 Kees Cook
  2022-02-14 21:38 ` [PATCH 1/2] " Kees Cook
  2022-02-14 21:38 ` [PATCH 2/2] selftests/seccomp: Check for waitid() behavior Kees Cook
  0 siblings, 2 replies; 4+ messages in thread
From: Kees Cook @ 2022-02-14 21:38 UTC (permalink / raw)
  To: Eric W. Biederman
  Cc: Kees Cook, Christian Brauner, Andy Lutomirski,
	Robert Święcki, Jann Horn, Oleg Nesterov,
	Thomas Gleixner, Ingo Molnar, linux-kernel, linux-api,
	linux-hardening

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-15  9:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 21:38 [PATCH 0/2] exit: Introduce __WCHILDSIGINFO for waitid Kees Cook
2022-02-14 21:38 ` [PATCH 1/2] " Kees Cook
2022-02-15  9:14   ` Christian Brauner
2022-02-14 21:38 ` [PATCH 2/2] selftests/seccomp: Check for waitid() behavior Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).