Jeff Xu <jeffxu@xxxxxxxxxxxx> wrote: > > Jeff - mind changing the EACESS to EPERM, and we'll have something > > that is more-or-less compatible between Linux and OpenBSD? > > > Sounds Good. I will make the necessary changes in the next version. Thanks! That is so awesome! On the OpenBSD side, I am close to landing our madvise / msync changes. Then we are mostly in sync. It was on my radar for a year, but delayed because I was ponderingn blocking the destructive madvise / msync ops on regular non-writeable pages. These ops remain a page-zero gadget against regular (mutable) readonly pages, and it bothers me. I've heard rumour this has been used in a nasty way, and I think the sloppily defined semantics could use a strict modernization.