~/talk

Current state of netlink decoding in strace

Talkat DevConf.CZ 2023 · 2023-06-16..06-18· [linux-and-operating-systems]
links:none on file
slides:none on file

strace implements netlink decoding since 2016 and now supports many protocols and most message types, using progressive parsing from traced process memory with elaborate error handling rather than copying whole messages. Tests use synthesized netlink payloads written to a netlink socket to validate parsers. Known failures include an SMC change that moved the address-family field and broke decoding for three kernel versions (SMC family-field break), and pain from raw-structure attributes that reintroduce ioctl-style compatibility problems. Generic netlink support is still incomplete.

AI-written summary · about

  1. 0:00Netlink and strace intro
  2. 3:11Problems with ioctl
  3. 8:00Why netlink is better
  4. 10:56Strace implementation details
  5. 16:34Decoding netlink protocols
  6. 23:08Current netlink support
  7. 26:02Future netlink plans
  8. 28:15Q&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.