privsep: Allow fcntl64 and fstat64 to fix ARM32 talking to the controller

We already allow fcntl and fstat so this is not a problem.
This commit is contained in:
Matthew Clarkson 2020-11-13 08:22:42 +00:00 committed by Roy Marples
parent 7ece8ef526
commit 12a91777bd

View File

@ -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