code wiki / _hdl_build / nx_gate_loop_register.nx
nx_gate_loop_register.nx
buildroot/runtime/_hdl_build/nx_gate_loop_register.nx
about
nx_gate_loop_register.nx -- GOVERNED registration of the gate loop daemon
(GAME arc G5). ENGINEER verdict, all mechanical:
(a) pidfile names a LIVE pid (/proc/<pid>/comm opens);
(b) a second start REFUSES (singleton; exit 3) -- two loops would race
the gate's shared /tmp artifacts (observed corrupting verdicts);
(c) at least one GATELOOP beat line exists in the loop log.
Also flags the __syscall translation-table gap found during the build:
rv64 getpid (172) is NOT translated -> x86 received 172=iopl -> -ENOSYS.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_cap_register.nxnx_pm_review_log.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 14 | const GLR_LAYER: i64 = 4 |
| 15 | const GLR_STATUS: i64 = 2 |
| 16 | const GLR_IDX: i64 = 218 |
| 17 | const GLR_NLAYERS: i64 = 6 |
functions
| 19 | func glr_run0(path: *u8) -> i64 |
| 35 | func glr_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { dst[off+i] = s[i]; i = i + 1 } return off + i } called by 1: glr_pid_alive |
| 36 | func glr_cat_n(dst: *u8, off: i64, v: i64) -> i64 |
| 49 | func glr_read_pidfile() -> i64 |
| 66 | func glr_pid_alive(pid: i64) -> i64 |
| 80 | func main() -> i64 |