From f883155b35979aa6adaf5de219ff8b56f3dc2539 Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Sat, 2 Sep 2017 11:40:44 +0300 Subject: Workaround for build problems, but correct problem this time --- src/fseccomp/syscall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fseccomp/syscall.c') diff --git a/src/fseccomp/syscall.c b/src/fseccomp/syscall.c index d5b40cf8e..abdedb957 100644 --- a/src/fseccomp/syscall.c +++ b/src/fseccomp/syscall.c @@ -82,6 +82,9 @@ static const SyscallGroupList sysgroups[] = { #endif #ifdef SYS_vm86old "vm86old" +#endif +#if !defined(SYS_modify_ldt) && !defined(SYS_subpage_prot) && !defined(SYS_switch_endian) && !defined(SYS_vm86) && !defined(SYS_vm86old) + "__dummy_syscall__" // workaround for arm64, s390x and sparc64 which don't have any of above defined and empty syscall lists are not allowed #endif }, { .name = "@debug", .list = @@ -102,9 +105,6 @@ static const SyscallGroupList sysgroups[] = { #endif #ifdef SYS_sys_debug_setcontext "sys_debug_setcontext," -#endif -#if !defined(SYS_lookup_dcookie) && !defined(SYS_perf_event_open) && !defined(SYS_process_vm_writev) && !defined(SYS_rtas) && !defined(SYS_s390_runtime_instr) && !defined(SYS_sys_debug_setcontext) - "__dummy_syscall__" // workaround for arm64, s390x and sparc64 which don't have any of above defined and empty syscall lists are not allowed #endif }, { .name = "@default", .list = -- cgit v1.2.3-70-g09d2