]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Update privsep-linux.c to allow statx (#349)
authorJabrwock <8205511+Jabrwock@users.noreply.github.com>
Wed, 21 Aug 2024 10:38:58 +0000 (04:38 -0600)
committerGitHub <noreply@github.com>
Wed, 21 Aug 2024 10:38:58 +0000 (11:38 +0100)
Add statx to SECCOMP_ALLOW

src/privsep-linux.c

index a40f2979238ee1278db05b9f1849d67d6a4758c6..07f05213fdc2c7397c6cf1d2cad1216ff3829029 100644 (file)
@@ -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