commit 369fc4fa01dc01b9715e5c0d7022d0fe7d44d657
parent dd93790d80898b5cd40e01c50ad23d8f39546906
Author: Joris Vink <joris@coders.se>
Date: Wed, 2 Nov 2022 22:13:10 +0100
Add newfstatat in common Kore seccomp whitelist.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/seccomp.c b/src/seccomp.c
@@ -68,6 +68,9 @@ static struct sock_filter filter_kore[] = {
#if defined(SYS_fstat64)
KORE_SYSCALL_ALLOW(fstat64),
#endif
+#if defined(SYS_newfstatat)
+ KORE_SYSCALL_ALLOW(newfstatat),
+#endif
KORE_SYSCALL_ALLOW(write),
KORE_SYSCALL_ALLOW(fcntl),
#if defined(SYS_fcntl64)