diff options
author | Daiki Ueno <ueno@gnu.org> | 2021-11-22 10:59:38 +0000 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2021-11-22 10:59:38 +0000 |
commit | 8f17428b84f877bd04e03b6cccd0f4f23101ef3a (patch) | |
tree | 247b778cbba3e9dec8f84bd47116a1c9cc424abd /tests/seccomp.c | |
parent | a957c6c0b4abf6cb1c9756ef10e8b884cf7ae8aa (diff) | |
parent | f0b5403b9d89c2231d7ac84f53f3723075ef0fb3 (diff) | |
download | gnutls-8f17428b84f877bd04e03b6cccd0f4f23101ef3a.tar.gz |
Merge branch 'wip/dueno/thr' into 'master'
locks: couple of improvements using Gnulib glthread
See merge request gnutls/gnutls!1485
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"); |