Skip to content

Commit

Permalink
Workaround for build problems, but correct problem this time
Browse files Browse the repository at this point in the history
  • Loading branch information
topimiettinen committed Sep 2, 2017
1 parent 9252c4c commit f883155
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fseccomp/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand All @@ -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 =
Expand Down

0 comments on commit f883155

Please sign in to comment.