aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp
diff options
context:
space:
mode:
authorLibravatar Topi Miettinen <toiwoton@gmail.com>2017-09-01 22:04:36 +0300
committerLibravatar Topi Miettinen <toiwoton@gmail.com>2017-09-01 22:04:36 +0300
commit9252c4c119fa98cdd7251db80f38ff09be5fe2bc (patch)
tree1a3a04224ffca41e9fafcfde8dc92a115c1c52dc /src/fseccomp
parentMerge pull request #1512 from SpotComms/fs (diff)
downloadfirejail-9252c4c119fa98cdd7251db80f38ff09be5fe2bc.tar.gz
firejail-9252c4c119fa98cdd7251db80f38ff09be5fe2bc.tar.zst
firejail-9252c4c119fa98cdd7251db80f38ff09be5fe2bc.zip
Workaround for build problems on arm64, s390x and sparc64
Diffstat (limited to 'src/fseccomp')
-rw-r--r--src/fseccomp/syscall.c3
1 files changed, 3 insertions, 0 deletions
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
@@ -103,6 +103,9 @@ static const SyscallGroupList sysgroups[] = {
103#ifdef SYS_sys_debug_setcontext 103#ifdef SYS_sys_debug_setcontext
104 "sys_debug_setcontext," 104 "sys_debug_setcontext,"
105#endif 105#endif
106#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)
107 "__dummy_syscall__" // workaround for arm64, s390x and sparc64 which don't have any of above defined and empty syscall lists are not allowed
108#endif
106 }, 109 },
107 { .name = "@default", .list = 110 { .name = "@default", .list =
108 "@cpu-emulation," 111 "@cpu-emulation,"