[Git][NTPsec/ntpsec][master] seccomp: add a missing Gentoo ARM syscall.
Gary E. Miller
gitlab at mg.gitlab.com
Mon Jun 12 22:48:36 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
570d37ab by Gary E. Miller at 2017-06-12T15:46:46-07:00
seccomp: add a missing Gentoo ARM syscall.
- - - - -
1 changed file:
- ntpd/ntp_sandbox.c
Changes:
=====================================
ntpd/ntp_sandbox.c
=====================================
--- a/ntpd/ntp_sandbox.c
+++ b/ntpd/ntp_sandbox.c
@@ -391,8 +391,8 @@ int scmp_sc[] = {
SCMP_SYS(ppoll),
SCMP_SYS(sendmsg),
-#ifdef __x86_64__
- SCMP_SYS(mmap),
+#ifdef SYS_mmap
+ SCMP_SYS(mmap), /* gentoo 64-bit and 32-bit use this */
#endif
#if defined(__i386__) || defined(__arm__)
SCMP_SYS(_newselect),
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/570d37ab97fafad98ad99981bdaa5f50684a6ecb
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/570d37ab97fafad98ad99981bdaa5f50684a6ecb
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170612/c198d70c/attachment.html>
More information about the vc
mailing list