std: move memory locking and memory protection to process

and introduce type safety for posix.PROT (mmap, mprotect)

progress towards #6600
4d6d2922b8Andrew Kelley committed on 1/9/2026, 9:52:00 PMparent9aaecde
23 files changedLine totals unavailable