Allow the clock_nanosleep syscall, it is required for kore_accesslog().

glibc 2.31 calls clock_nanosleep in its nanosleep function.
This commit is contained in:
Frederic Cambus 2020-09-14 15:51:18 +02:00 committed by Joris Vink
parent 19573a7bf0
commit 60bc618c3f
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ static struct sock_filter filter_kore[] = {
KORE_SYSCALL_ALLOW(geteuid),
KORE_SYSCALL_ALLOW(exit_group),
KORE_SYSCALL_ALLOW(nanosleep),
KORE_SYSCALL_ALLOW(clock_nanosleep),
/* Memory related. */
KORE_SYSCALL_ALLOW(brk),