From: Matthew Clarkson Date: Fri, 13 Nov 2020 08:22:42 +0000 (+0000) Subject: privsep: Allow fcntl64 and fstat64 to fix ARM32 talking to the controller X-Git-Tag: v9.3.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12a91777bd8126056518c8cc9edeb933f451afa8;p=thirdparty%2Fdhcpcd.git privsep: Allow fcntl64 and fstat64 to fix ARM32 talking to the controller We already allow fcntl and fstat so this is not a problem. --- diff --git a/src/privsep-linux.c b/src/privsep-linux.c index 01f4975c..ed391e7d 100644 --- a/src/privsep-linux.c +++ b/src/privsep-linux.c @@ -236,9 +236,15 @@ static struct sock_filter ps_seccomp_filter[] = { #ifdef __NR_fcntl SECCOMP_ALLOW(__NR_fcntl), #endif +#ifdef __NR_fcntl64 + SECCOMP_ALLOW(__NR_fcntl64), +#endif #ifdef __NR_fstat SECCOMP_ALLOW(__NR_fstat), #endif +#ifdef __NR_fstat64 + SECCOMP_ALLOW(__NR_fstat64), +#endif #ifdef __NR_gettimeofday SECCOMP_ALLOW(__NR_gettimeofday), #endif