Text already read-only?
Text already read-only?
Posted Dec 22, 2022 21:41 UTC (Thu) by mrugiero (guest, #153040)In reply to: Text already read-only? by VadimP
Parent article: mimmutable() for OpenBSD
> mmap, munmap, mprotect, madvise, ... mimmutable.
Isn't yours precisely an example of what makes it confusing? One is talking about mapping a m(emory) region. Then about unmapping it. Then about protection for it. Then about hints about its usage. Then you talk about the mapping itself? It could have made sense to call it something like ptimmutable (page-table immutable).