Re: [Mesa-dev] [PATCH] Disable the code that allocates W|X memory on OpenBSD

2016-09-12 Thread Philip Guenther
On Thu, 8 Sep 2016, Jonathan Gray wrote: > On Thu, Sep 08, 2016 at 06:57:44PM +0100, Emil Velikov wrote: ... > > For a long while the intent has been to use --enable-glx-tls by > > default and kill off the other codepaths. But with the write xor > > execute policy, it's going to be (close to) impos

Re: [Mesa-dev] [PATCH] Disable the code that allocates W|X memory on OpenBSD

2016-09-09 Thread Emil Velikov
On 8 September 2016 at 19:46, Mark Kettenis wrote: >> From: Emil Velikov >> Date: Thu, 8 Sep 2016 18:57:44 +0100 >> >> On 1 September 2016 at 18:23, Jonathan Gray wrote: >> > OpenBSD now has strict W^X enforcement. Processes that violate >> > the policy get killed by the kernel. Don't attempt

Re: [Mesa-dev] [PATCH] Disable the code that allocates W|X memory on OpenBSD

2016-09-08 Thread Mark Kettenis
> From: Emil Velikov > Date: Thu, 8 Sep 2016 18:57:44 +0100 > > On 1 September 2016 at 18:23, Jonathan Gray wrote: > > OpenBSD now has strict W^X enforcement. Processes that violate > > the policy get killed by the kernel. Don't attempt to use > > executable memory on OpenBSD to avoid this. >

Re: [Mesa-dev] [PATCH] Disable the code that allocates W|X memory on OpenBSD

2016-09-08 Thread Jonathan Gray
On Thu, Sep 08, 2016 at 06:57:44PM +0100, Emil Velikov wrote: > On 1 September 2016 at 18:23, Jonathan Gray wrote: > > OpenBSD now has strict W^X enforcement. Processes that violate > > the policy get killed by the kernel. Don't attempt to use > > executable memory on OpenBSD to avoid this. > >

Re: [Mesa-dev] [PATCH] Disable the code that allocates W|X memory on OpenBSD

2016-09-08 Thread Emil Velikov
On 1 September 2016 at 18:23, Jonathan Gray wrote: > OpenBSD now has strict W^X enforcement. Processes that violate > the policy get killed by the kernel. Don't attempt to use > executable memory on OpenBSD to avoid this. > > Patch from Mark Kettenis. > > --- a/src/gallium/auxiliary/rtasm/rtasm

[Mesa-dev] [PATCH] Disable the code that allocates W|X memory on OpenBSD

2016-09-01 Thread Jonathan Gray
OpenBSD now has strict W^X enforcement. Processes that violate the policy get killed by the kernel. Don't attempt to use executable memory on OpenBSD to avoid this. Patch from Mark Kettenis. Cc: 11.2 12.0 Signed-off-by: Mark Kettenis Signed-off-by: Jonathan Gray --- src/gallium/auxiliary/rt