code wiki / _hdl_build / nx_publish_opaque_login.nx

nx_publish_opaque_login.nx

buildroot/runtime/_hdl_build/nx_publish_opaque_login.nx

1952 B33 linesdepth 6pulls 10 transitivereach 0 importersview sourcekind tooltopic publish
docsdependenciesstructsconstsfunctions

about

nx_publish_opaque_login.nx -- one-shot: hand the registration-CLOSED OPAQUE login daemons to THE NISHI PUBLISHER (nx_publisher.pub_submit) as durable PENDING requests. Workstreams REQUEST; the publisher SHIPS to the NAS + restarts -- decoupled from this workstream (the sites.elf-outage collision-class fix). The two rebuilt binaries are pre-staged under knowledge/publish/staging/ so pub_submit can sha256 them now and the publisher can ship them later. Idempotent at the publisher (R2 sha-skip); re-submitting is safe.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_publisher.nx nx_publish_opaque_login.nx

imports: nx_syscalls.nxnx_publisher.nx

imported by: nobody (leaf or entry point)

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

main pub_init pub_submit pub_init ↻ pub_submit_to sys_mmap pub_sha_file sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_final blk_set_byte ↻ sha256_compress ↻ sys_munmap pub_hexd pub_build_rec fa_cat fa_appendz fa_append sys_mmap ↻ sys_openat_append sys_flock fa_write_all sys_write sys_close ↻ fa_len pub_queue_default

structs

none

consts

none

functions

9func pl_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return n }
called by 1: main calls 1: sys_write
10func pl_puti(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
20func main(argc: i64, argv: *i64) -> i64