On Wed, Dec 09, 2015 at 08:09:57AM +1300, Bryan Christianson wrote:
> 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,

PRV_Initialise() should be now called from main(). I wanted to avoid
calling PRV_Finalise() if PRV_Initialise() wasn't called, which
happened when root privileges were not dropped.

-- 
Miroslav Lichvar

-- 
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.

Reply via email to