code wiki / (root) / nx_daemon_gate.nx

nx_daemon_gate.nx

buildroot/runtime/nx_daemon_gate.nx

2113 B40 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic daemon
docsdependenciesstructsconstsfunctions

about

nx_daemon_gate.nx -- proves the sovereign detached-spawn primitive (fork + setsid) that nx_daemon's daemon_spawn uses: a forked child detaches into a NEW session, does work (writes a marker), and exits clean; the parent reaps it and verifies. (daemon_spawn's execve is the same sys_execve nx_hostctl runs in production.) license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_daemon.nx nx_fio.nx nx_gate.nx nx_daemon_gate.nx

imports: nx_daemon.nxnx_fio.nxnx_gate.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write fio_unlink sys_fork nx_setsid sys_openat_wr sys_wait4 gn sys_write ↻ sys_mmap fio_exists sys_mmap ↻ sys_fstatat

structs

none

consts

none

functions

8func main() -> i64