Skip to contentSkip to conversation

seccomp updates for v7.4-rc1

GIT PULL Merged Kees Cook 2 participants 2 messages Oct 22 – Oct 23

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi Linus,

Please pull these seccomp updates for v7.4-rc1. These are mainly improvements to USER_NOTIF behaviors.

Thanks!

-Kees

The following changes since commit df2908090cda368b01ff43709f51890076c56157:

Linux 7.3-rc2 (2026-09-06 15:07:20 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v7.4-rc1

for you to fetch changes up to e32008340585a12783045c4426fbb963cfa11b7e:

selftests/seccomp: Split fork_and_close into clone and close tests (2026-10-06 02:02:49 -0700)

----------------------------------------------------------------
seccomp updates for v7.4-rc1

- allow addfd to transfer O_PATH descriptors (Cong Wang)

- allow restarting interrupted unreceived notifications (Cong Wang)

- fix SECCOMP_ADDFD_FLAG_SEND when interrupted (Hui Peng)

- Various docs and test clean-ups

----------------------------------------------------------------
Cong Wang (5):
seccomp: allow restarting interrupted unreceived notifications selftests/seccomp: cover restart of unreceived notifications docs/seccomp: describe the SECCOMP_FILTER_FLAG_RESTART_BEFORE_RECV flag
seccomp: allow addfd to transfer O_PATH descriptors selftests/seccomp: test addfd with an O_PATH descriptor

Hui Peng (1):

      seccomp: restore knotif->state when SECCOMP_ADDFD_FLAG_SEND is interrupted

Kees Cook (2):
seccomp: Document RESTART_BEFORE_RECV and O_PATH addfd selftests/seccomp: Split fork_and_close into clone and close tests

 Documentation/userspace-api/seccomp_filter.rst |  37 ++
 include/linux/seccomp.h                        |   3 +-
 include/uapi/linux/seccomp.h                   |   2 +
 tools/include/uapi/linux/seccomp.h             |   2 +
 kernel/seccomp.c                               |  26 +-
 tools/testing/selftests/seccomp/seccomp_bpf.c  | 642 +++++++++++++++++++++++++
 6 files changed, 704 insertions(+), 8 deletions(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 22 Oct 2026 10:53:07 -0700:

The pull request you sent on Thu, 22 Oct 2026 10:53:07 -0700:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v7.4-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/79132ddf81d78d9b84d9b8f05c7c5c3a3e912537

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html