mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-16 06:49:19 +08:00
disable_system_calls: added clock_nanosleep
It seems that new fedora versions depend on it for nanosleep(). Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -117,6 +117,7 @@ int disable_system_calls(struct worker_st *ws)
|
|||||||
#if defined(HAVE_CLOCK_GETTIME)
|
#if defined(HAVE_CLOCK_GETTIME)
|
||||||
ADD_SYSCALL(clock_gettime, 0);
|
ADD_SYSCALL(clock_gettime, 0);
|
||||||
#endif
|
#endif
|
||||||
|
ADD_SYSCALL(clock_nanosleep, 0);
|
||||||
ADD_SYSCALL(nanosleep, 0);
|
ADD_SYSCALL(nanosleep, 0);
|
||||||
ADD_SYSCALL(getrusage, 0);
|
ADD_SYSCALL(getrusage, 0);
|
||||||
ADD_SYSCALL(alarm, 0);
|
ADD_SYSCALL(alarm, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user