Re: [Qemu-devel] [PATCH v2 02/18] configure: Disable W^X on OpenBSD

2019-02-04 Thread Eric Blake
On 1/30/19 1:17 AM, Thomas Huth wrote: >> test ... -a ... >> >> is not portable (POSIX permits non-XSI systems to omit support for these >> operators, but even where they are supported, there are some inherently >> ambiguous inputs where you CANNOT predict whether the shell will parse >> -a as a b

Re: [Qemu-devel] [PATCH v2 02/18] configure: Disable W^X on OpenBSD

2019-01-29 Thread Thomas Huth
On 2019-01-29 22:54, Eric Blake wrote: > On 1/29/19 11:53 AM, Philippe Mathieu-Daudé wrote: >> Since OpenBSD 6.0 [1], W^X is enforced by default [2]. >> TCG requires WX access. Disable W^X if it is available. >> This fixes: >> > >> configure | 11 +++ >> 1 file changed, 11 insertions(+) >

Re: [Qemu-devel] [PATCH v2 02/18] configure: Disable W^X on OpenBSD

2019-01-29 Thread Eric Blake
On 1/29/19 11:53 AM, Philippe Mathieu-Daudé wrote: > Since OpenBSD 6.0 [1], W^X is enforced by default [2]. > TCG requires WX access. Disable W^X if it is available. > This fixes: > > configure | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/configure b/configure > index b

Re: [Qemu-devel] [PATCH v2 02/18] configure: Disable W^X on OpenBSD

2019-01-29 Thread Philippe Mathieu-Daudé
On 1/29/19 6:53 PM, Philippe Mathieu-Daudé wrote: > Since OpenBSD 6.0 [1], W^X is enforced by default [2]. > TCG requires WX access. Disable W^X if it is available. > This fixes: > > # lm32-softmmu/qemu-system-lm32 > Could not allocate dynamic translator buffer > > # sysctl kern.wxabort=1 >