Skip to content
systemcoding.dev

Tag

intermediate

255 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
Flat illustration of an assembly listing with addresses and mnemonics, with the C, GNU and Arm logos.
Toolchains

Design a Stable C ABI for a Shared Library

Keep a shared library's C interface stable across releases with opaque handles, size-tagged structs, explicit error codes and a versioned symbol set.

7 min read