~/talk

Syscalls for Rustaceans

Talkat RustLab 2019 · 2019-06-28..06-29· [linux-and-operating-systems, rust]
github:gs0510
slides:none on file

Demonstrates a working Rust program that implements strace in Rust, spawning a child, using ptrace to stop on syscalls and reading registers to identify calls (example: write(fd=1, "hello\n", 6)). Targets Linux x86_64, relies on libc/unsafe FFI and a table of roughly 300 syscall numbers, increments counts per syscall and prints totals. Notes portability risk: mapping is tied to a kernel version and works against the newest kernel tested.

AI-written summary · about

  1. 0:00Start
  2. 2:211970s: Systems Programming Language
  3. 8:57Write implementation in Rust
  4. 15:08POSIX and system calls
  5. 22:56Fetching register values with ptrace
~/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.