diff options
Diffstat (limited to 'sandbox/linux/seccomp/syscall_table.h')
-rw-r--r-- | sandbox/linux/seccomp/syscall_table.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sandbox/linux/seccomp/syscall_table.h b/sandbox/linux/seccomp/syscall_table.h index d678c0b..49c2880 100644 --- a/sandbox/linux/seccomp/syscall_table.h +++ b/sandbox/linux/seccomp/syscall_table.h @@ -20,8 +20,17 @@ namespace playground { int threadFd, SecureMemArgs* mem); }; extern const struct SyscallTable syscallTable[] - asm("playground$syscallTable"); - extern const unsigned maxSyscall asm("playground$maxSyscall"); + asm("playground$syscallTable") +#if defined(__x86_64__) + __attribute__((visibility("internal"))) +#endif + ; + extern const unsigned maxSyscall + asm("playground$maxSyscall") +#if defined(__x86_64__) + __attribute__((visibility("internal"))) +#endif + ; #ifdef __cplusplus } // namespace } |