Line
Link Here
|
0 |
-- a/ntpd/ntp_sandbox.c |
0 |
++ b/ntpd/ntp_sandbox.c |
Lines 411-417
Link Here
|
411 |
SCMP_SYS(getpid), |
411 |
SCMP_SYS(getpid), |
412 |
SCMP_SYS(gettid), |
412 |
SCMP_SYS(gettid), |
413 |
SCMP_SYS(geteuid), |
413 |
SCMP_SYS(geteuid), |
|
|
414 |
/* __NR_ppoll is not available in Fedora 31. |
415 |
* Needed by getaddrinfo on Arch Linux. 2019-Dec */ |
416 |
/* But somebody switched to SNR vs NR so we need a way |
417 |
* to test for old/new so we can do the right ifdef. */ |
418 |
// Currently broken on Arch Linux but passes GitLab CI |
419 |
#ifdef __NR_ppoll |
414 |
SCMP_SYS(ppoll), |
420 |
SCMP_SYS(ppoll), |
|
|
421 |
SCMP_SYS(clock_adjtime), |
422 |
#endif |
415 |
SCMP_SYS(sendmsg), |
423 |
SCMP_SYS(sendmsg), |
416 |
#ifdef __NR_geteuid32 |
424 |
#ifdef __NR_geteuid32 |
417 |
SCMP_SYS(geteuid32), |
425 |
SCMP_SYS(geteuid32), |