From 8ad760b9e058b6a440e569fda3ccd28f8bfd7ef0 Mon Sep 17 00:00:00 2001 From: Jabrwock <8205511+Jabrwock@users.noreply.github.com> Date: Wed, 21 Aug 2024 04:38:58 -0600 Subject: [PATCH] Update privsep-linux.c to allow statx (#349) Add statx to SECCOMP_ALLOW --- src/privsep-linux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/privsep-linux.c b/src/privsep-linux.c index a40f2979..07f05213 100644 --- a/src/privsep-linux.c +++ b/src/privsep-linux.c @@ -441,6 +441,9 @@ static struct sock_filter ps_seccomp_filter[] = { #ifdef __NR_shutdown SECCOMP_ALLOW(__NR_shutdown), #endif +#ifdef __NR_statx + SECCOMP_ALLOW(__NR_statx), +#endif #ifdef __NR_time SECCOMP_ALLOW(__NR_time), #endif -- 2.47.2