commit 860e21aa50f7bf6e4bd222c08a7412f665792d85
parent 6fbb6d188ef0215fefb06e39b9f1f2244cfcacb6
Author: Joris Vink <joris@sanctorum.se>
Date: Mon, 29 Apr 2024 09:46:44 +0200
linux: add faccessat2 to default seccomp rules.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/seccomp.c b/src/seccomp.c
@@ -71,6 +71,9 @@ static struct sock_filter filter_kore[] = {
#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),
#if defined(SYS_fcntl64)