seccomp: allow futex()

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2022-02-10 15:03:23 +01:00
parent ed4ec0a3cb
commit a2fbdabf5e
2 changed files with 5 additions and 0 deletions

View File

@@ -147,6 +147,9 @@ int disable_system_calls(struct worker_st *ws)
ADD_SYSCALL(send, 0);
ADD_SYSCALL(recv, 0);
/* Required by new versions of glibc */
ADD_SYSCALL(futex, 0);
/* it seems we need to add sendto and recvfrom
* since send() and recv() aren't called by libc.
*/