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:
Nikos Mavrogiannopoulos
2020-09-21 08:38:21 +02:00
parent 8f6ff20f66
commit 8208f74138

View File

@@ -117,6 +117,7 @@ int disable_system_calls(struct worker_st *ws)
#if defined(HAVE_CLOCK_GETTIME)
ADD_SYSCALL(clock_gettime, 0);
#endif
ADD_SYSCALL(clock_nanosleep, 0);
ADD_SYSCALL(nanosleep, 0);
ADD_SYSCALL(getrusage, 0);
ADD_SYSCALL(alarm, 0);