From 12a91777bd8126056518c8cc9edeb933f451afa8 Mon Sep 17 00:00:00 2001 From: Matthew Clarkson Date: Fri, 13 Nov 2020 08:22:42 +0000 Subject: [PATCH] privsep: Allow fcntl64 and fstat64 to fix ARM32 talking to the controller We already allow fcntl and fstat so this is not a problem. --- src/privsep-linux.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.3