summaryrefslogtreecommitdiffstats
path: root/sandbox/linux/seccomp/syscall_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/linux/seccomp/syscall_table.c')
-rw-r--r--sandbox/linux/seccomp/syscall_table.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sandbox/linux/seccomp/syscall_table.c b/sandbox/linux/seccomp/syscall_table.c
index 79b281e..588a1b5 100644
--- a/sandbox/linux/seccomp/syscall_table.c
+++ b/sandbox/linux/seccomp/syscall_table.c
@@ -115,4 +115,8 @@ const unsigned maxSyscall __attribute__((section(".rodata"))) =
sizeof(syscallTable)/sizeof(struct SyscallTable);
const int syscall_mutex_[4096/sizeof(int)] asm("playground$syscall_mutex")
- __attribute__((section(".rodata"),aligned(4096))) = { 0x80000000 };
+ __attribute__((section(".rodata"),aligned(4096)
+#if defined(__x86_64__)
+ ,visibility("internal")
+#endif
+ )) = { 0x80000000 };