diff options
Diffstat (limited to 'tests/seccomp.c')
-rw-r--r-- | tests/seccomp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/seccomp.c b/tests/seccomp.c index ed14d00298..210fc9f9a3 100644 --- a/tests/seccomp.c +++ b/tests/seccomp.c @@ -98,6 +98,9 @@ int disable_system_calls(void) ADD_SYSCALL(sigreturn, 0); ADD_SYSCALL(rt_sigreturn, 0); + /* used by gl_once_t implementation with pthread */ + ADD_SYSCALL(futex, 0); + ret = seccomp_load(ctx); if (ret < 0) { fprintf(stderr, "could not load seccomp filter"); |