On Wed, Sep 7, 2016 at 8:22 PM, Theo de Raadt wrote:
[...]
> Almost immediately after 6.0 unlocked, 6.0-current moved back to new
> harsher semantics. That gives the ports guys the right model for
> pushing harder with labelling executables. Progress sometimes takes
> a few
>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
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
On 2016-09-06, Philippe Meunier wrote:
> Theo de Raadt wrote:
>>It is probably staring you in the face.
>
> Okay, I assume this requires -current then? I'm using 6.0-release on
> i386 and I don't see it:
>
> $ readelf -l /usr/local/jdk-1.8.0/bin/java | egrep -i wx
> $
>
>
Theo de Raadt wrote:
>It is probably staring you in the face.
Okay, I assume this requires -current then? I'm using 6.0-release on
i386 and I don't see it:
$ readelf -l /usr/local/jdk-1.8.0/bin/java | egrep -i wx
$
(yes, I know that java was linked with wxneeded (I get an "mprotect W^X
> David Coppa wrote:
> >readelf -l /path/to/executable
>
It is probably staring you in the face. Unfortunately readelf
truncates the long name
OPENBSD_WXNEED 0x 0x 0x
0x 0xE8
That is if
David Coppa wrote:
>readelf -l /path/to/executable
Well, thanks, but... what should I look for in the output, exactly?
Philippe
Il 6 settembre 2016 07:28:40 CEST, Philippe Meunier ha
scritto:
>Hello,
>
>How does one check whether an existing program has been linked using
>the wxneeded option or not?
>
>I tried to play with objdump -x but I don't know what to look for in
>the output... Any help?
Hello,
How does one check whether an existing program has been linked using
the wxneeded option or not?
I tried to play with objdump -x but I don't know what to look for in
the output... Any help? Thank you.
Cheers,
Philippe
9 matches
Mail list logo