~/talk

The Beginner's Guide to Linux Syscalls

Talkat Golang UK 2017 · 2017-08-16..08-18· [linux-and-operating-systems]
slides:none on file

Shows how a Go println funnels down to the Linux write syscall by following code to the libc/syscall layer and reading the AX register which holds the syscall ID and return value, uses strace and PTRACE and inspects registers to trace execution, implements strace from scratch in Go and reproduces about a dozen syscalls for a hello program, handles syscall entry vs exit, and demonstrates seccomp rejecting calls (blocking open/write) with working example code on GitHub.

AI-written summary · about

  1. 0:00Introduction to syscalls
  2. 1:25Using strace
  3. 4:37Syscall mechanics
  4. 6:55Kernel-level execution
  5. 11:25Building a custom tracer
  6. 28:02Security with seccomp
  7. 34:37Conclusion and Q&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.