Mercurial > hg > dhcpcd
diff src/privsep-linux.c @ 5540:a6ee95eb8e60 draft
privsep: Allow fcntl64 and fstat64 to fix ARM32 talking to the controller
We already allow fcntl and fstat so this is not a problem.
| author | Matthew Clarkson <mclarkson@reliablecontrols.com> |
|---|---|
| date | Fri, 13 Nov 2020 08:22:42 +0000 |
| parents | a5c61a48ae3c |
| children | f233c9381c56 |
line wrap: on
line diff
--- a/src/privsep-linux.c Fri Nov 13 08:21:12 2020 +0000 +++ b/src/privsep-linux.c Fri Nov 13 08:22:42 2020 +0000 @@ -236,9 +236,15 @@ #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
