NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Wine11 and PaX MPROTECT
On Sun, Nov 22, 2026 at 05:30:22PM +1100, Ruslan Bekenev wrote:
> I traced it with ktruss and it clearly fails on one of the mprotect calls:
> 11842 11842 wine mprotect(0x10002a000, 0x6000, 0x3) Err#13 EACCES
Check in the trace how the mapping for that address has been created.
The mprotect(2) man page says:
[EACCES] A memory protection violation occurred.
The PROT_EXEC flag was attempted on pages which belong
to a file system mounted with the NOEXEC flag.
The new protection is less restrictive than the
protection originally set with mmap(2).
PaX mprotect restrictions prohibit the requested
protection.
so PaX is only one possible reason, the others still apply with PaX disabled.
Since you probably would know about noexec mounts in your system, the most
likely one is the middle one: trying to widen the original access rights.
Martin
Home |
Main Index |
Thread Index |
Old Index