code wiki / _hdl_build / nx_galx_authz_gate.nx
nx_galx_authz_gate.nx
buildroot/runtime/_hdl_build/nx_galx_authz_gate.nx
about
nx_galx_authz_gate.nx -- proves the gallery access model on the REAL catalog (galx_vid_rules.tsv + real paths):
the cam recordings (r) and the NSFW reddit/tumblr/redgifs (v) are OWNER-ONLY (only elder, from anywhere); SFW
media (m) maps to family. Uses the actual rules file + real example paths from galx_vid_paths.tsv. The SFW
movie library (Zatoichi/Mr Bean) is a SEPARATE area (nx_media_server) served at family level. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_galx_authz.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
| none |
functions
| 8 | func zw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 9 | func zslen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 10 | func zrow(id: i64, ok: i64, what: *u8) -> i64 { zw("GZROW " as *u8); let b: *u8=sys_mmap(8); b[0]=(48+id) as u8; sys_write(1,b,1); zw(" " as *u8); if ok==1 { zw("PASS " as *u8) } else { zw("FAIL " as *u8) } zw(what); zw("\n" as *u8); return ok } |
| 12 | func main() -> i64 |