~/talk

Tutorial: Using Linux Primitives to Build Your Own Containers

Talkat Linux Security Summit Europe 2019 · on Thursday, 2019-10-31· at 16:30· Forum 1· [linux-and-operating-systems]
slides:none on file

Step-by-step build of a container from kernel primitives: create user namespaces and remap UIDs so root inside ≠ root outside, unshare mount and pivot_root to give a new filesystem view, apply seccomp notifier to block or emulate dangerous syscalls (demoed by blocking mknod), drop capabilities, load an LSM profile (AppArmor) and enforce resource limits with cgroups (v1 vs cgroup v2 incompatibility shown). Demos prove ordering matters, unprivileged containers work without host escapes unless a kernel bug exists, and the mknod interception lets safe device access.

AI-written summary · about

  1. 0:00Introduction
  2. 4:37General Considerations
  3. 6:17File System Isolation
  4. 10:53namespaces
  5. 21:38seccomp
  6. 28:08Demo
  7. 32:03Capabilities
  8. 37:53User Namespace
  9. 45:03Loading Profiles
  10. 48:16C Groups
  11. 55:51Proxy Groups
~/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.