diff options
| author | Matthew Clarkson <mclarkson@reliablecontrols.com> | 2020-11-13 08:22:42 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-11-13 08:22:42 +0000 |
| commit | 12a91777bd8126056518c8cc9edeb933f451afa8 (patch) | |
| tree | 9f956416c700c1b1785b1cbbac4b26503949a02e | |
| parent | 7ece8ef526fee000068d49ba8d1f8ae7d79e30de (diff) | |
| download | dhcpcd-12a91777bd8126056518c8cc9edeb933f451afa8.tar.xz | |
privsep: Allow fcntl64 and fstat64 to fix ARM32 talking to the controller
We already allow fcntl and fstat so this is not a problem.
| -rw-r--r-- | src/privsep-linux.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
