code wiki / _hdl_build / nx_room_privacy_gate.nx

nx_room_privacy_gate.nx

buildroot/runtime/_hdl_build/nx_room_privacy_gate.nx

5071 B84 linesdepth 2pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic room
docsdependenciesstructsconstsfunctions

about

nx_room_privacy_gate.nx -- the ZERO-STORAGE privacy EXCEED for the video room (operator 2026-06-22: "we wont store any data for these session... we are just facilitating between two people"). PROVES the room is EPHEMERAL BY CONSTRUCTION: call content (video/audio/chat) is relayed through caller-owned RAM (shared mmap) and is unrecoverable the instant the call ends -- nothing is written to non-volatile storage, so there is no recording to subpoena, leak, or breach. MEASURED: (T1) media relays byte-exact through RAM; (T2) on call-end the content is ERASED (both logically -- the index is gone -- and physically -- the bytes zero); (T3) a fresh call carries ZERO residue from the prior one. STRUCTURAL: nx_room_relay imports NOTHING and makes NO syscalls (pure buffer ops) -> it is INCAPABLE of disk/network I/O -> media can ONLY live in the RAM the caller hands it. The EXCEED (honest): Zoom/Meet/Teams persist server-side recordings/transcripts and CAN record; ours CANNOT persist call content by construction. (We dropped "server-side recording" -- anti-privacy.) main() is the SELF-VALIDATING GATE. Evidence -> knowledge/status/room_privacy.log. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_room_relay.nx nx_room_privacy_gate.nx

imports: nx_syscalls.nxnx_room_relay.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap rr_init rr_post rr_find rr_alloc rr_find ↻ rr_flen pw sys_write pwn sys_mmap ↻ sys_write ↻ sys_openat_append sys_close sys_exit

structs

none

consts

19const PRIV_LOG: *u8 = "knowledge/status/room_privacy.log"

functions

21func pw(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
called by 1: main calls 1: sys_write
22func pwn(fd: i64, v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(fd,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(fd,bb,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
24func main() -> i64