~/talk

SELinux All the Way Down: Namespaces for SELinux

links:none on file
slides:none on file

Proposal enables per-container policies by giving each SELinux namespace its own policy, AVC, enforcing mode and selinuxfs instance while requiring ancestor policies to confine children. Implementation uses a selinuxfs unshare node, per-credential namespace pointers, and global SIDs with wrappers to map into per-policy structures. systemd-nspawn proof-of-concept boots Fedora/Rocky containers on Fedora/Ubuntu hosts; kernel test suite mostly passes and benchmarks show minimal performance overhead. Remaining blockers are final kernel API choices and a few networking/namespacing gaps.

AI-written summary · about

  1. 0:00SELinux namespaces intro
  2. 2:09SELinux in containers limits
  3. 4:17SELinux namespaces use cases
  4. 6:27SELinux namespaces history
  5. 9:18How SELinux namespaces work
  6. 13:13SELinux ID handling
  7. 15:02Permission checks in namespaces
  8. 17:51Resource limits for namespaces
  9. 19:37Unsharing SELinux namespaces
  10. 21:25Kernel state encapsulation
  11. 23:11Network namespace interactions
  12. 24:34Process labeling in namespaces
  13. 27:05Optimizing permission checks
  14. 27:27User space interfaces
  15. 29:12Security guardrails
  16. 31:19Testing with systemd
  17. 34:30Manual namespace setup
  18. 36:56SELinux containers with namespaces
  19. 38:01Testing namespace functionality
  20. 39:27Performance overhead
  21. 41:59Open issues before upstream
  22. 43:24Known limitations and future
  23. 44:26Q&A
~/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.