[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 11:48:53 -0700 |
Yo Eric!
On Thu, 17 Oct 2013 08:03:43 -0400 (EDT)
address@hidden (Eric S. Raymond) wrote:
> I see that kernel PPS requires root for initialization, and have added
> a thread wait to avoid the race condition you reported where the
> threads for PPS devices given on the command line don't get to the
> /dev/pps devices before privileges are dropped.
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.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
address@hidden Tel:+1(541)382-8588
signature.asc
Description: PGP signature
- Re: [gpsd-dev] PPS and privilege-dropping, (continued)
- Re: [gpsd-dev] PPS and privilege-dropping, Greg Troxel, 2013/10/18
- Re: [gpsd-dev] PPS and privilege-dropping, Hal Murray, 2013/10/18
- Re: [gpsd-dev] PPS and privilege-dropping, Gary E. Miller, 2013/10/18
- Re: [gpsd-dev] PPS and privilege-dropping, Hal Murray, 2013/10/18
- Re: [gpsd-dev] PPS and privilege-dropping, Eric S. Raymond, 2013/10/19
- Re: [gpsd-dev] PPS and privilege-dropping, Harlan Stenn, 2013/10/19
- [gpsd-dev] The agony, the ecstacy, the NTP documentation, Eric S. Raymond, 2013/10/19
- Re: [gpsd-dev] The agony, the ecstacy, the NTP documentation, Harlan Stenn, 2013/10/19
- Re: [gpsd-dev] The agony, the ecstacy, the NTP documentation, Eric S. Raymond, 2013/10/19
- Re: [gpsd-dev] PPS and privilege-dropping, Eric S. Raymond, 2013/10/19
Re: [gpsd-dev] PPS and privilege-dropping,
Gary E. Miller <=