From 9252c4c119fa98cdd7251db80f38ff09be5fe2bc Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Fri, 1 Sep 2017 22:04:36 +0300 Subject: Workaround for build problems on arm64, s390x and sparc64 --- src/fseccomp/syscall.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fseccomp') diff --git a/src/fseccomp/syscall.c b/src/fseccomp/syscall.c index 8c18b2d14..d5b40cf8e 100644 --- a/src/fseccomp/syscall.c +++ b/src/fseccomp/syscall.c @@ -102,6 +102,9 @@ 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-54-g00ecf