nx_os_introspect_gate.nx
buildroot/runtime/nx_os_introspect_gate.nx
about
nx_os_introspect_gate.nx -- in-process referee for the OS-introspection lib (CAP-PORT-OWNER). Binds a REAL
listener, resolves it back through the sovereign /proc chain, and asserts the owner is THIS process (the mapping
is correct, not arbitrary) -- the honest self-test. Then, as a LIVE DIAGNOSTIC (not an assertion), it names
whatever holds :8456 (the docportal-admin bind conflict). GREEN iff T1..T6. license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_os_introspect.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
| none |
functions
| 7 | func og_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 8 | func og_puti(v: i64) -> i64 called by 1: main |
| 15 | func og_row(name: *u8, ok: i64) -> i64 { if ok == 1 { og_w(" PASS " as *u8) } else { og_w(" FAIL " as *u8) } og_w(name); og_w("\n" as *u8); return ok } |
| 17 | func main() -> i64 |