On 2025-10-27, Sebastien Marie <[email protected]> wrote:
> python3 has the header (it needs wxallowed):
>
> $ readelf -l /usr/local/bin/python3.12 | grep OPENBSD_WXNEED
>   OPENBSD_WXNEED 0x0000000000000000 0x0000000000000000 0x0000000000000000

Python is a special case, which I think is worth mentioning.

Python itself does not require W+X mappings, but some compiled modules
pull in libraries (for example qtwebengine) which require it.

There's no way to do this selectively, the python3.12 executable itself
needs to have the marker in case the user needs one of those modules.
But, as long as you don't use one of those modules, you can still run
it from a filesystem mounted without the wxallowed flag.

(This would also be an issue for perl if we had anything in ports
providing compiled perl modules that require W+X mappings).


Reply via email to