> On 9/12/2015, at 7:37 AM, Bryan Christianson <br...@whatroute.net> wrote: > > >> On 9/12/2015, at 6:08 AM, Miroslav Lichvar <mlich...@redhat.com> wrote: >> >> On Tue, Dec 08, 2015 at 06:04:00PM +0100, g...@tuxfamily.net wrote: >>> Summary of changes: >>> configure | 18 ++++++++---- >>> main.c | 5 +++- >>> privops.c | 90 >>> +++++++++++++++++++++++++++++++++++++++++++++++----------- >>> privops.h | 5 ++++ >>> sys_linux.c | 2 +- >>> sys_macosx.c | 5 +--- >>> sys_netbsd.c | 3 ++ >>> 7 files changed, 99 insertions(+), 29 deletions(-) >> >> Bryan, can you please check if it still works for you on Mac OS X? > > There is an initialisation problem in privops.c > helper_fd now has a default value of 0 where previously was -1 > > static int helper_fd; > static pid_t helper_pid; > > static int > have_helper(void) > { > return helper_fd >= 0; > } > Fixed with
diff --git a/sys_macosx.c b/sys_macosx.c index c1592dd..dc0de57 100644 --- a/sys_macosx.c +++ b/sys_macosx.c @@ -437,6 +437,7 @@ void SYS_MacOSX_DropRoot(uid_t uid, gid_t gid) void SYS_MacOSX_Initialise(void) { + PRV_Initialise(); clock_initialise(); lcl_RegisterSystemDrivers(read_frequency, set_frequency, -- Bryan Christianson br...@whatroute.net -- To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.