zig icon indicating copy to clipboard operation
zig copied to clipboard

openbsd: adding EPERM for msync() against hitting a immutable region page

Open rwsalie opened this issue 1 year ago • 1 comments

OpenBSD, currently, will not let the permission to msync() (which is mapping destructive) hit another page marked as immutable. If msync() hit a region immutable he will return EPERM.

more information at: https://marc.info/?l=openbsd-cvs&m=170585617027230&w=2

I've been triggered by this error during stage3 which cause the unreachable (below) #18696

This commit, will let openbsd oses compiling well :smile:

rwsalie avatar Jan 27 '24 01:01 rwsalie

from OpenBSD point of vue, it LGTM.

semarie avatar Feb 02 '24 05:02 semarie