[Git][NTPsec/ntpsec][master] Add _H to HAVE_SYS_CLOCKCTL_H in ntp_sandbox

Hal Murray gitlab at mg.gitlab.com
Fri Jul 8 03:01:02 UTC 2016


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
77741ce0 by Hal Murray at 2016-07-07T20:00:09-07:00
Add _H to HAVE_SYS_CLOCKCTL_H in ntp_sandbox

- - - - -


1 changed file:

- ntpd/ntp_sandbox.c


Changes:

=====================================
ntpd/ntp_sandbox.c
=====================================
--- a/ntpd/ntp_sandbox.c
+++ b/ntpd/ntp_sandbox.c
@@ -58,7 +58,7 @@ bool sandbox(const bool droproot,
 	UNUSED_ARG(want_dynamic_interface_tracking);
 #endif /* HAVE_LINUX_CAPABILITY */
 	bool nonroot = false;
-#if !defined(HAVE_LINUX_CAPABILITY) && !defined(HAVE_SOLARIS_PRIVS) && !defined(HAVE_SYS_CLOCKCTL)
+#if !defined(HAVE_LINUX_CAPABILITY) && !defined(HAVE_SOLARIS_PRIVS) && !defined(HAVE_SYS_CLOCKCTL_H)
 	if (droproot) {
 		msyslog(LOG_ERR,
 			"root can't be dropped due to missing capabilities.");



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/77741ce0cd9c88bbf8c76436e6a46481b169df58
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160708/5452bee4/attachment.html>


More information about the vc mailing list