Re: [chrony-dev] [PATCH] MacOS X - Drop root privilege

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Tue, Nov 24, 2015 at 09:01:59PM +1300, Bryan Christianson wrote:
> Run chronyd as a non-privileged user, using the privops helper to
> perform adjtime(), settimeofday() and bind() functions on its behalf.
> ---
>  chrony.texi.in | 13 ++++++++++---
>  chronyd.8.in   |  8 +++++++-
>  configure      |  8 ++++++++
>  ntp_io.c       |  3 ++-
>  sys.c          |  2 ++
>  sys_macosx.c   | 32 ++++++++++++++++++++++++++++----
>  sys_macosx.h   |  1 +
>  7 files changed, 58 insertions(+), 9 deletions(-)

Applied. Thanks!

> +void SYS_MaxOSX_DropRoot(uid_t uid, gid_t gid);

I noticed Max -> Mac typo here, fixed in the commit.

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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/