This workspace owns @deepseek-ai/node-addon-system: the Linux landlock-run confinement executable and the POSIX system.node binding. It shares the root pnpm workspace and lockfile; native packages have one independent version and release workflow.
LOCK_EX | LOCK_NB in asynchronous work and captures errno on that worker. The caller owns the fd through completion and releases its lock by closing it../landlock-run and ./flock are independent capability exports; the package has no root export. Neither import loads the addon. ./flock loads it only when called; Windows retains the Harness's existing semaphore implementation.NALR_REQUIRE_LANDLOCK is a test-only enforcement requirement.packages/entry/ owns JavaScript, types, and auditable C sources. Platform packages hold only binaries and metadata. scripts/ owns native builds, packing, validation, and release; test/ owns real process and lock behavior.
Run pnpm build:ts, pnpm build:native, pnpm build:test-oracle, pnpm typecheck, and pnpm test in this directory. Linux full builds require musl-gcc; macOS uses cc. Repository tests build only their host addon through the root build:native-system script. The independent syscall fixture is test-only and never enters a published platform package.
os/cpu and prebuilds.json are the checked-in package matrix. CI derives runners from that matrix, builds natively on each architecture, and tests identical addon bytes under several Node releases.bin/landlock-run, bin/glibc/system.node, and bin/musl/system.node. macOS packages contain bin/system.node. No Windows platform package is needed by these capabilities.