Re: [Qemu-devel] [RFC PATCH 2/3] qemu-seccomp: manually expand SCMP_A1

2018-08-21 Thread Eduardo Otubo
On 10/08/2018 - 18:11:00, Alex Bennée wrote: > The expansion of ((struct scmp_arg_cmp){1, SCMP_CMP_NE, 5}) doesn't > work with -std=gnu99. > > Signed-off-by: Alex Bennée > --- > qemu-seccomp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/qemu-seccomp.c b/qemu-seccomp

[Qemu-devel] [RFC PATCH 2/3] qemu-seccomp: manually expand SCMP_A1

2018-08-10 Thread Alex Bennée
The expansion of ((struct scmp_arg_cmp){1, SCMP_CMP_NE, 5}) doesn't work with -std=gnu99. Signed-off-by: Alex Bennée --- qemu-seccomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-seccomp.c b/qemu-seccomp.c index 9cd8eb9499..4dc1c22924 100644 --- a/qemu-seccomp.c +++