[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] PPS and privilege-dropping

From: Gary E. Miller
Subject: Re: [gpsd-dev] PPS and privilege-dropping
Date: Thu, 17 Oct 2013 14:04:16 -0700

Yo Hal!

On Thu, 17 Oct 2013 12:20:27 -0700
Hal Murray <address@hidden> wrote:

> address@hidden said:
> > ALL ntpd prefers root for initialization.  There is serious loss of
> > functionality when not initialized as root.  You need to expand
> > your thread wait to the entire ntpd initialization.  This will in
> > fact make the code much cleanner as you no longer need the new
> > layer you added. Just protect the entire thread. 
> I'm having troubles understanding that.  What does "ntpd" refer to?
> I'd guess that it refers to the chunk of code that puts info in
> shared memory where ntpd can get it but now we have 2 uses of ntpd
> with different meanings.

I would mostly agree wth your above statement, except it is not broad
enough. ntpd, as I have used it casually, not pedantically, also
refers to the chrony interface.  Thus embracing all of the timekeeping
functions of gpsd.  Since all the relevant functions are in the ntpshm.c
file I should prolly refer to ntpshm, knowing it is more than just
the ntpd shm interface.

What is the second meaning you speak of?

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]