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

From: Kees Cook
Date: Mon Mar 11 2024 - 19:41:35 EST


Hi Linus,

Please pull these several seccomp updates for v6.9-rc1. There are no core
kernel changes here; it's entirely selftests and samples. Details below.

Thanks!

-Kees

The following changes since commit 41bccc98fb7931d63d03f326a746ac4d429c1dd3:

Linux 6.8-rc2 (2024-01-28 17:01:12 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 56af94aace8a0489fb1a32fd6f1cf0c548fe3911:

samples: user-trap: fix strict-aliasing warning (2024-02-12 10:42:02 -0800)

----------------------------------------------------------------
seccomp updates for v6.9-rc1

- Improve reliability of selftests (Terry Tritton, Kees Cook)

- Fix strict-aliasing warning in samples (Arnd Bergmann)

----------------------------------------------------------------
Arnd Bergmann (1):
samples: user-trap: fix strict-aliasing warning

Kees Cook (1):
selftests/seccomp: Pin benchmark to single CPU

Terry Tritton (3):
selftests/seccomp: Handle EINVAL on unshare(CLONE_NEWPID)
selftests/seccomp: Change the syscall used in KILL_THREAD test
selftests/seccomp: user_notification_addfd check nextfd is available

samples/seccomp/user-trap.c | 8 +++--
.../testing/selftests/seccomp/seccomp_benchmark.c | 38 ++++++++++++++++++--
tools/testing/selftests/seccomp/seccomp_bpf.c | 41 ++++++++++++++++------
3 files changed, 73 insertions(+), 14 deletions(-)

--
Kees Cook