Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/heimdall

profiles/youki/README.md

youki: one filter per job type (PROPOSED, an example)

PROPOSED, an example. Nothing installs these filters. They show the per-job union on a real container runtime, beside holger-scan-worker/.

Heimdall is a defensive sandbox. This directory holds static seccomp filters for youki itself: the Ignalina/youki fork, branch feat/seccomp-backend-trait 5aeca235, a release build with --no-default-features --features systemd,v2,seccomp, glibc (it links libseccomp.so.2), sha256 5ca042b0bc3fe7a83505e0230becbd76fa1d8243680f9d1b6aa0eeea609a78d3. A host runs youki one subcommand at a time, so each subcommand is a job type with a filter of its own (owner rule, 2026-11-12), and each filter is the UNION of a measured part and Mímir's possible set (owner rule, 2026-11-11).

for each [[job]] J of workload.toml (create, start, exec, delete):
measured  M_J = heimdall profile gen --job J     (the runs of J alone)     jobs/J/x86_64-glibc.json
possible  G_J = mimir-exec --root main --cut <every other subcommand>,   jobs/J/graph/youki.possible.json
                with the C half (libbpf)
filter    U_J = M_J ∪ G_J                                                  jobs/J/union/x86_64-glibc.{json,oci.json,rs}
job filter measured only from the possible set possible calls dangerous calls left
create 132 88 44 123 44
start 78 42 36 71 17
exec 134 70 64 125 44
delete 94 42 52 86 21

The scope: the real entry, the sibling jobs cut

Each job is rooted at youki's main, not at its subcommand function, and every other subcommand is cut (17 cuts: commands::start::start, commands::kill::kill, ... for create). main runs a prefix in every job before it dispatches, and a root at the subcommand would drop it. Here that prefix makes memfd_create: pentacle::syscall::memfd_create (youki's sealed self-copy against CVE-2019-5736) and tracing-journald's memfd (main → observability::init). Rooted at the subcommands, memfd_create was measured in all four jobs but had no call site.

bpf comes from C: libbpf's sys_bpf (libbpf/src/bpf.c:75, 17 call sites), reached from libcgroups::v2::devices::bpf::prog when the cgroup v2 devices controller loads its program. The C half is in the possible set (--dump <make>/c-source), so bpf has its call sites in create and exec.

How it was made (oden, 2026-11-12)

Rootful only. The runs need real root, a rootful sudo podman run --privileged. youki's cgroup v2 devices controller loads a BPF program and raises RLIMIT_MEMLOCK for it. A rootless podman cannot go past the host's hard limit (8 MiB on oden), so create fails there with "bpf error: Failed to increase rlimit".

Enforced

Under heimdall profile enforce, every job under its own filter: 31 of 31 results pass. Every exit is the same as under probe (the error paths 1, 255 and 1 too). Each workload printed its end marker, and each exec printed its output. The negative control has every job under the start filter: create dies by SIGSYS (exit 159).

The dangerous calls left

M: measured (and possible). G: from the possible set only.