Skip to main content

Week 5 Session: What does it ask the kernel for?

Take the syscall inventory of a real program and decide which surface could actually host it

22 March 2027

This is the most open session of the semester, because almost anything can be traced. Use your assignment target if it is native.

Otherwise, pick something with a reputation:

Trace it. Count what it asks for, and sort the calls into: in preview1, in WASIX, in neither.

The number that matters is the third column, and the interesting part is usually not its size but its content. One fork is worse than four hundred reads. A single bind ends the conversation for an entire class of approach.

Two things to bring back:

That second question is the week’s real content. Most of the engineering in this field is not implementing a syscall. It is arranging not to need it.

The spec

What you bring to the session. Written so a reader can tell whether it has been met without asking you.

Teaching team