Re: php and W^X

2016-09-02 Thread Stuart Henderson
On 2016-09-02, Thuban wrote: > Hello, > It seems that php-7.0 require wxallowed. > I don't like the idea to "wxallow" the whole /usr/local. > > Do you have any advice? Yes: find what is using W+X mappings, most likely the embedded copy of pcre has the jit enabled, and disable or fix it.

Re: php and W^X

2016-09-02 Thread Karel Gardas
On Fri, Sep 2, 2016 at 10:21 AM, Thuban wrote: > Hello, > It seems that php-7.0 require wxallowed. > I don't like the idea to "wxallow" the whole /usr/local. > > Do you have any advice? Then create another fs for just wxneeded binaries. If you don't know, then there are 2 things which needs to be

Re: php and W^X

2016-09-02 Thread Otto Moerbeek
On Fri, Sep 02, 2016 at 10:33:13AM +0200, ludovic coues wrote: > you can recompile and mark with PT_OPENBSD_WXNEEDED every port > requiring wxallowed. Then you can remove wxallow from /usr/local. This is NOT a right advice. -Otto > > 2016-09-02 10:21 GMT+02:00 Thuban : > > Hello, > >

Re: php and W^X

2016-09-02 Thread ludovic coues
you can recompile and mark with PT_OPENBSD_WXNEEDED every port requiring wxallowed. Then you can remove wxallow from /usr/local. 2016-09-02 10:21 GMT+02:00 Thuban : > Hello, > It seems that php-7.0 require wxallowed. > I don't like the idea to "wxallow" the whole /usr/local. > > Do you have any ad