gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Time Service HOWTO in nearly final form; please review


From: Eric S. Raymond
Subject: Re: [gpsd-dev] Time Service HOWTO in nearly final form; please review
Date: Sat, 26 Oct 2013 08:23:54 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Beat Bolli <address@hidden>:
> The section that explains the differences between root vs. non-root
> operation and devices on the command line vs. hotplug needs to be
> adjusted now that the root privileges are dropped after setting up the
> SHM segments and raising the PPS thread priority (commit
> 247c5825172137f337a79a1ff2f73b4af2899f66).

I'm not seeing how, sorry.  Gary moved the thread interlock to avoid a 
race condition, and this does mean time_pps_create() will always be
called with root permissions.  But it appears to me that this just
removes a bug that prevented the code from behaving as documented.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

Attachment: signature.asc
Description: Digital signature


reply via email to

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