nx_vsz_pig.nx
buildroot/runtime/nx_vsz_pig.nx
about
nx_vsz_pig.nx -- TEST FIXTURE for the VSZ watchdog's live kill-path proof: balloons its own VSZ to ~40GB
of VIRTUAL address space (anonymous mmap, untouched pages -> near-zero RSS, harmless) then sleeps forever.
The watchdog, given a conf row "nx_vsz_pig 30", must kill THIS and nothing else. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_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
| 5 | const K_MAGIC_1073741824: i64 = 1073741824 |
| 6 | const K_MAGIC_60000: i64 = 60000 |
functions
| 8 | func main() -> i64 |