From: Jabrwock <8205511+Jabrwock@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:38:58 +0000 (-0600) Subject: Update privsep-linux.c to allow statx (#349) X-Git-Tag: v10.0.9~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ad760b9e058b6a440e569fda3ccd28f8bfd7ef0;p=thirdparty%2Fdhcpcd.git Update privsep-linux.c to allow statx (#349) Add statx to SECCOMP_ALLOW --- 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