Mercurial > hg > dhcpcd
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 5539:33b56ca3a0e5 | 5540:a6ee95eb8e60 |
|---|---|
| 234 SECCOMP_ALLOW(__NR_exit_group), | 234 SECCOMP_ALLOW(__NR_exit_group), |
| 235 #endif | 235 #endif |
| 236 #ifdef __NR_fcntl | 236 #ifdef __NR_fcntl |
| 237 SECCOMP_ALLOW(__NR_fcntl), | 237 SECCOMP_ALLOW(__NR_fcntl), |
| 238 #endif | 238 #endif |
| 239 #ifdef __NR_fcntl64 | |
| 240 SECCOMP_ALLOW(__NR_fcntl64), | |
| 241 #endif | |
| 239 #ifdef __NR_fstat | 242 #ifdef __NR_fstat |
| 240 SECCOMP_ALLOW(__NR_fstat), | 243 SECCOMP_ALLOW(__NR_fstat), |
| 244 #endif | |
| 245 #ifdef __NR_fstat64 | |
| 246 SECCOMP_ALLOW(__NR_fstat64), | |
| 241 #endif | 247 #endif |
| 242 #ifdef __NR_gettimeofday | 248 #ifdef __NR_gettimeofday |
| 243 SECCOMP_ALLOW(__NR_gettimeofday), | 249 SECCOMP_ALLOW(__NR_gettimeofday), |
| 244 #endif | 250 #endif |
| 245 #ifdef __NR_getpid | 251 #ifdef __NR_getpid |
