Skip to content

Commit

Permalink
More work on seccomp for Arch #633
Browse files Browse the repository at this point in the history
I think the root of the issue is an ommision in
  /usr/include/seccomp-syscalls.h
Fedora seems fixed.  The same issue has poped up on Alpine Linux.
Editing the above header file fixed it.
  • Loading branch information
Hal Murray committed Feb 23, 2020
1 parent 2e0d90c commit 39a880b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ntpd/ntp_sandbox.c
Expand Up @@ -416,9 +416,10 @@ int scmp_sc[] = {
/* But somebody switched to SNR vs NR so we need a way
* to test for old/new so we can do the right ifdef. */
// Currently broken on Arch Linux but passes GitLab CI
// #ifdef __NR_ppoll
// SCMP_SYS(ppoll),
// #endif
#ifdef __NR_ppoll
SCMP_SYS(ppoll),
SCMP_SYS(clock_adjtime),
#endif
SCMP_SYS(sendmsg),
#ifdef __NR_geteuid32
SCMP_SYS(geteuid32),
Expand Down

0 comments on commit 39a880b

Please sign in to comment.