[Git][NTPsec/ntpsec][master] Add geteuid32 to list of permitted syscalls

Gary E. Miller gitlab at mg.gitlab.com
Sun Jul 8 20:20:53 UTC 2018


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
e62391bf by Dan McGee at 2018-07-08T19:52:59Z
Add geteuid32 to list of permitted syscalls

`geteuid` is already in the list, but on Arch Linux ARM (for instance,
on a Raspberry Pi), this additional call is needed.

- - - - -


1 changed file:

- ntpd/ntp_sandbox.c


Changes:

=====================================
ntpd/ntp_sandbox.c
=====================================
@@ -411,6 +411,9 @@ int scmp_sc[] = {
 	SCMP_SYS(geteuid),
 	SCMP_SYS(ppoll),
 	SCMP_SYS(sendmsg),
+#ifdef __NR_geteuid32
+	SCMP_SYS(geteuid32),
+#endif
 
 #ifdef __NR_mmap
 	/* gentoo 64-bit and 32-bit, Intel and Arm use mmap */



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

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/e62391bf7447b1086d9e45a2aac26d995967bcff
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/20180708/37d01646/attachment.html>


More information about the vc mailing list