code wiki / (root) / nx_fcntlprobe.nx

nx_fcntlprobe.nx

buildroot/runtime/nx_fcntlprobe.nx

1960 B47 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_fcntlprobe.nx -- is nx_fcntl actually working on this target? nx_connect_bounded bails with -1 the moment nx_fcntl(fd, F_GETFL) returns <0, and EVERY freshly built organ now fails outbound connect with -2 while an organ built before the bounded-connect change still reaches the same host. This asks the primitive directly instead of inferring. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_fcntl.nx nx_fcntlprobe.nx

imports: nx_syscalls.nxnx_fcntl.nx

imported by: nobody (leaf or entry point)

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

main fq_puts sys_write fq_len fq_putn sys_write ↻ sys_mmap nx_fcntl sys_socket sys_close

structs

none

consts

none

functions

9func fq_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: fq_puts
10func fq_puts(s: *u8) -> i64 { sys_write(1, s, fq_len(s)); return 0 }
called by 1: main calls 2: sys_writefq_len
11func fq_putn(v: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
23func main() -> i64