mimmutable
An OpenBSD system call that locks a memory mapping so its permissions can never be changed again for the life of the process.
Theo de Raadt added it in late 2022 and it shipped in OpenBSD 7.3 the following year. A region marked immutable cannot be made writable or executable, nor unmapped and replaced. That closes a common exploit pattern: get a small foothold of code execution, then use mprotect or mmap to turn memory into something more useful.
Most of it happens without programs noticing. The kernel and the dynamic linker lock program text, stack and read-only data at startup on their own. Software that generates code at runtime, such as JIT compilers, had to adapt instead — the same kind of friction OpenBSD caused when it introduced W^X.