Skip to content
systemcoding.dev

Tag

seccomp

4 posts

Flat illustration of a shield with a lock, a key and a password field, with the Linux, C and Rust logos.
Security

Write a seccomp Filter With libseccomp

Build a default-deny seccomp allow-list in C with libseccomp, add an argument rule that limits write to one file descriptor, and inspect the generated BPF.

6 min read