nx_host_recover.nx
buildroot/runtime/nx_host_recover.nx
about
nx_host_recover.nx -- bring the live nishifamily host back up via the ecosystem's
OWN supervisor (nx_hostctl supervise), over our sovereign SSH client. The
supervisor was dead (no proc) -> sites.elf down -> nishifamily.com 0-byte TLS.
This relaunches it with the proven setsid idiom (survives the SSH channel close)
and reports the resulting process + listener state. Read-clean: only launches the
ecosystem's documented supervisor; no kill of anything (PROCS was already empty).
Reuses the vault-auth preamble from nx_aw_push/nx_cad_nas_probe. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_ssh_lib.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
| 11 | const P_SECRET_OUT: *u8 = "/tmp/nxsecret.out" as *u8 |
| 12 | const P_VAULT_NV: *u8 = "/home/elderwesto/.nishi/secrets/nas.nv" as *u8 |
functions
| 14 | func p_run(path: *u8, a1: *u8, a2: *u8) -> i64 |
| 32 | func p_unlink(path: *u8) -> i64 { __syscall(263, AT_FDCWD, path, 0, 0, 0, 0) return 0 } called by 1: main |
| 33 | func slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: main |
| 35 | func main() -> i64 |