From 860e21aa50f7bf6e4bd222c08a7412f665792d85 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Mon, 29 Apr 2024 09:46:44 +0200 Subject: [PATCH] linux: add faccessat2 to default seccomp rules. --- src/seccomp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/seccomp.c b/src/seccomp.c index ba4240db..3b1be391 100644 --- a/src/seccomp.c +++ b/src/seccomp.c @@ -70,6 +70,9 @@ static struct sock_filter filter_kore[] = { #endif #if defined(SYS_newfstatat) KORE_SYSCALL_ALLOW(newfstatat), +#endif +#if defined(SYS_faccessat2) + KORE_SYSCALL_ALLOW(faccessat2), #endif KORE_SYSCALL_ALLOW(write), KORE_SYSCALL_ALLOW(fcntl),