memfd.org

A notebook for the curious

Close to the kernel.
Far from the noise.

Notes on Linux, small programs, and the interfaces that hold things together. One useful idea at a time.

Explore the notes

From the notebook

THREE THINGS TO EXPLORE
/01

Linux / memory

A file without a filename

A small introduction to memfd_create: file descriptors, anonymous storage, and the lifetime of an open file.

/02

Unix / interfaces

Follow the file descriptor

Why a small integer can connect files, pipes, sockets, and the shell.

/03

Linux / observability

A quiet look inside /proc

A few useful views into a running process, using the tools already on the machine.

$ man curiosity

Good tools make the system legible.
Good notes make it easier to return.

A little about memfd.org →