mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
seccomp: allow futex()
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user