Re: [chrony-dev] [GIT] chrony/chrony.git branch, master, updated. 2.2-48-gfe50212 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
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-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.