[Git][NTPsec/ntpsec][master] Add seccomp entries for Alpine.

Eric S. Raymond gitlab at mg.gitlab.com
Wed Sep 23 13:04:14 UTC 2020



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


Commits:
e674ccda by Eric S. Raymond at 2020-09-23T09:03:49-04:00
Add seccomp entries for Alpine.

Addresses Gitlab issue #672.

- - - - -


1 changed file:

- ntpd/ntp_sandbox.c


Changes:

=====================================
ntpd/ntp_sandbox.c
=====================================
@@ -324,6 +324,8 @@ int scmp_sc[] = {
 	SCMP_SYS(fsync),
 	SCMP_SYS(futex),	/* sem_xxx, used by threads */
 	SCMP_SYS(getdents),	/* Scanning /etc/ntp.d/ */
+	SCMP_SYS(getegid),	/* Needed on Alpine */
+	SCMP_SYS(getgid),	/* Needed on Alpine */
 	SCMP_SYS(getdents64),
 
 #ifdef __NR_getrandom
@@ -340,6 +342,7 @@ int scmp_sc[] = {
 	SCMP_SYS(getsockname),
 	SCMP_SYS(getsockopt),
 	SCMP_SYS(gettimeofday),	/* mkstemp */
+	SCMP_SYS(getuid),	/* Needed on Alpine */
 	SCMP_SYS(ioctl),
 	SCMP_SYS(link),
 	SCMP_SYS(listen),



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

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/e674ccdae8fcc2db6c1e22e006ea7392f6a5290d
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/20200923/e7babc3b/attachment.htm>


More information about the vc mailing list