[GIT PULL] seccomp updates for v6.11-rc1

From: Kees Cook
Date: Mon Jul 15 2024 - 12:24:02 EST


Hi Linus,

Please pull this seccomp update for v6.11-rc1.

Thanks!

-Kees

The following changes since commit c3f38fa61af77b49866b006939479069cd451173:

Linux 6.10-rc2 (2024-06-02 15:44:56 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v6.11-rc1

for you to fetch changes up to f0c508faea645da58d6ae6b644a1b68020d5a9d2:

selftests/seccomp: check that a zombie leader doesn't affect others (2024-06-28 09:37:11 -0700)

----------------------------------------------------------------
seccomp updates for v6.11-rc1

- interrupt SECCOMP_IOCTL_NOTIF_RECV when all users exit (Andrei Vagin)

- Update selftests to check for expected NOTIF_RECV exits (Andrei Vagin)

----------------------------------------------------------------
Andrei Vagin (4):
seccomp: interrupt SECCOMP_IOCTL_NOTIF_RECV when all users have exited
seccomp: release task filters when the task exits
selftests/seccomp: add test for NOTIF_RECV and unused filters
selftests/seccomp: check that a zombie leader doesn't affect others

kernel/exit.c | 3 +-
kernel/seccomp.c | 30 ++++--
tools/testing/selftests/seccomp/seccomp_bpf.c | 131 ++++++++++++++++++++++++++
3 files changed, 157 insertions(+), 7 deletions(-)

--
Kees Cook