~/talk

seccomp listeners for nested containers

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13· [security]
links:none on file
slides:none on file

Kernel currently restricts seccomp listeners to single listener per process even though filters are nested; this patchset proposes letting listeners be nested by walking listeners from the lowest to the root and honoring SECCOMP_FILTER_FLAG_NEW_LISTENER semantics while preserving the current behavior when a historical listener was closed. The code distinguishes allocated-vs-loaded-only listeners, tracks the historically first listener, and avoids fastpath slowdown by re-evaluating filters only when the final verdict is user notification; a three-version patchset is on LKML.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:05Seccomp filter modes overview
  3. 3:42How seccomp filters execute
  4. 5:51User notify and syscall emulation
  5. 7:39Nested containers use case
  6. 8:00Current nesting limitation
  7. 9:04Naive approach and challenges
  8. 11:52Pitfalls in nested listener handling
  9. 15:51Equivalent code snippets behavior
  10. 17:39Victim process syscall flow
  11. 19:47Handling multiple notify programs
  12. 21:15Tracking listener states
  13. 22:38Discussion on current behavior
  14. 24:41Performance considerations
  15. 26:48Summary and acknowledgments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.