~/talk

The history of a linux kernel design flaw

Talkat DevConf.CZ 2020 · 2020-01-24..01-26· [linux-and-operating-systems]
links:none on file
slides:none on file

A design flaw lets 64-bit processes invoke both native and compat 32-bit syscalls and userland had no reliable way to tell which one ran; the fix adds a new ptrace API that reports syscall bitness and context. The result is PTRACE_GET_SYSCALL_INFO implemented across about 19 architectures via 29 patches over roughly 9 months, merged into kernel 5.3 and supported by strace 4.26, eliminating the register and opcode races that previously fooled tracers.

AI-written summary · about

  1. 0:00The design flaw history
  2. 2:17Tracing limitations
  3. 5:00The kaleidoscope bug
  4. 8:47Early proposed solutions
  5. 12:20Development of the API
  6. 16:47Implementing the fix
  7. 22:51Refining the patch set
  8. 28:34Upstreaming and merge
  9. 34:58Final results and impact
~/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.