carlos / platform Public

instance-syscall-filter

The gVisor spike (#527) found no tenant unit carries SystemCallFilter=, so tenants reach iouring. This branch adds systemd's @system-service allow-list minus iouring, the kernel keyring and userfaultfd, refused with ENOSYS, to the binary and rootfs instance templates, both probes and the two demo units. Both probes gain a syscall-filter line (enforced only under a unit that advertises it, for roll order). A root-runner witness runs Go, Node (libuv iouring forced on), Python, Ruby and PHP under the real block and proves they serve, that iouring/keyctl/userfaultfd answer ENOSYS, and that openat2 and Landlock still work.

Spec: docs/superpowers/specs/2026-11-08-instance-syscall-filter-design.md. Plan: docs/superpowers/plans/2026-11-08-instance-syscall-filter.md. Census card: docs/superpowers/notes/census-proposal-instance-syscall-filter.md.

Human

Tenant syscall filter (#527 Q5): SystemCallFilter=@system-service less io_uring, keyring and userfaultfd (ENOSYS) on every tenant unit; probe line; root-runner witness. Pre-launch hardening for /start.

Commits 5
Discussions 0 0 open
Tasks 7/7 done

Activity