~/talk

Understanding Linux user namespaces

Talkat Core C++ 2023 · 2023-06-05..06-07· [linux-and-operating-systems]
slides:none on file

Explains practical behavior: creating a user namespace with unshare gives the first process all 41 capabilities inside the namespace while keeping it unprivileged outside via /proc/[pid]/uid_map and gid_map. Demonstrates unshare and nsenter, inspects /proc/[pid]/ns symlinks, and reads capabilities with getpcaps. Shows that a root UID inside can change the UTS hostname but cannot touch initial network devices because the initial network namespace is owned by the initial user namespace. Mentions visualizer program and real uses like Firejail, Flatpak, Snap.

AI-written summary · about

  1. 0:00Intro
  2. 0:50What are namespaces
  3. 12:11Capabilities
  4. 18:48Mappings
  5. 21:13Example
  6. 25:46User namespaces capabilities
  7. 26:11Namespace types
  8. 27:41Ownership relationship
  9. 32:53Apis
  10. 40:03Use cases
  11. 44:09Questions
  12. 45:48Examples
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.