You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ocserv/futex.patch

13 lines
397 B

diff --git a/src/worker-privs.c b/src/worker-privs.c
index ae0b375d..0b285113 100644
--- a/src/worker-privs.c
+++ b/src/worker-privs.c
@@ -128,6 +128,7 @@ int disable_system_calls(struct worker_st *ws)
ADD_SYSCALL(getrusage, 0);
ADD_SYSCALL(alarm, 0);
ADD_SYSCALL(getpid, 0);
+ ADD_SYSCALL(futex, 0);
/* memory allocation - both are used by different platforms */
ADD_SYSCALL(brk, 0);