Stuart Henderson wrote: >Java was not linked with the wxneeded linker option in 6.0.
Okay, I tried with another program that I know does require the wxneeded linker option and indeed 'readelf -l' then shows OPENBSD_WXNEED. So my original question had indeed been answered, I was just mistakenly using the wrong example program. Thanks everyone. Now, just out of curiosity with regard to java: I get a "/bsd: java(46091): mprotect W^X violation" message when I use it on 6.0-release (on a filesystem mounted with wxallowed), it's not linked with the wxneeded option, and it still works. How is that possible? Doesn't that contradict the release announcement ("We are pleased to announce the official release of OpenBSD 6.0. [...] W^X is now strictly enforced by default; a program can only violate it if the executable is marked with PT_OPENBSD_WXNEEDED and is located on a filesystem mounted with the wxallowed mount(8) option.)? Thanks, Philippe