commit 4e38d8a32308fd47188046c6bfeb59211307f94d
parent ecbc373433bc35ecfc82df270d84dfe218ed46e5
Author: Joris Vink <joris@coders.se>
Date: Wed, 1 Mar 2023 17:11:27 +0100
Allow clock_gettime64() if defined.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/seccomp.c b/src/seccomp.c
@@ -105,6 +105,9 @@ static struct sock_filter filter_kore[] = {
KORE_SYSCALL_ALLOW(geteuid),
KORE_SYSCALL_ALLOW(exit_group),
KORE_SYSCALL_ALLOW(nanosleep),
+#if defined(SYS_clock_gettime64)
+ KORE_SYSCALL_ALLOW(clock_gettime64),
+#endif
#if defined(SYS_clock_nanosleep)
KORE_SYSCALL_ALLOW(clock_nanosleep),
#endif