~/talk

Linux Security APIs and the Chromium Sandbox

Talkat NDC TechTown 2018 · 2018-09-27..09-30· [security]
slides:none on file

Chromium builds its Linux sandbox by forking/cloning a single browser binary into a small set of processes (browser, zygote/zygote child, GPU, and one renderer per tab) and then applying concrete primitives: user+PID+net namespaces (with a setuid fallback if user namespaces are blocked), seccomp-BPF policies generated from C++ policy switches, capability dropping, setrlimit, and a chroot-like trick using CLONE_FS plus chdir into /proc/self/fdinfo so the child loses filesystem access; cgroups appear only on Chromebook. The code uses clone with a longjmp wrapper to emulate fork semantics.

AI-written summary · about

  1. 0:00Start
  2. 7:25a little bit about the linux security api '
  3. 10:20limit your access to certain resources
  4. 10:32start setting up the sandbox
  5. 10:54start up your browser process
  6. 12:20load a program into a processor
  7. 15:11look at namespaces
  8. 15:44create the sandbox
  9. 16:09create a user name space as an unprivileged user
  10. 21:23set up your own stack
  11. 32:51start sandbox
  12. 34:35install this filter
  13. 41:50setting the maximum size of the data segment
  14. 43:24limit the address space
~/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.