[Git][NTPsec/ntpsec][master] Address GitLab issue #411: seccomp bad syscall 21/0xc000003e (access)

Eric S. Raymond gitlab at mg.gitlab.com
Thu Nov 23 01:49:28 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
c0bb4b05 by Eric S. Raymond at 2017-11-22T20:48:23-05:00
Address GitLab issue #411: seccomp bad syscall 21/0xc000003e (access)

Re-whitelist the system call.

- - - - -


1 changed file:

- ntpd/ntp_sandbox.c


Changes:

=====================================
ntpd/ntp_sandbox.c
=====================================
--- a/ntpd/ntp_sandbox.c
+++ b/ntpd/ntp_sandbox.c
@@ -371,11 +371,7 @@ int scmp_sc[] = {
 	SCMP_SYS(uname),
 #endif
 
-#ifdef HAVE_UTMPX_H
-	/* for setutxent and friends in libntp/systime.c */
-        /* Writing time-changed msg to accounting file */
         SCMP_SYS(access),
-#endif
 
 #ifdef REFCLOCK
 	SCMP_SYS(nanosleep),



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c0bb4b05ac1864ea14535b55c15aa6c03d8f2ea2

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c0bb4b05ac1864ea14535b55c15aa6c03d8f2ea2
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/20171123/0e285c93/attachment.html>


More information about the vc mailing list