gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] SHM number changing on reconnect


From: Gary E. Miller
Subject: Re: [gpsd-users] SHM number changing on reconnect
Date: Thu, 13 Sep 2018 12:33:59 -0700

Yo Martin!

On Thu, 13 Sep 2018 09:09:44 +0200
Martin Burnicki <address@hidden> wrote:

> Just an idea: According to the docs at
> http://doc.ntp.org/current-stable/drivers/driver28.html

Just remember, gpsd is NTP Classic compliant, but their doc is
not controlling on gpsd.

> "The shared memory-segment is created with owner-only access by
> default, unless otherwise requested by the mode word for units ≥2.
> Units 0 and 1 are always created with owner-only access for backward
> compatibility."
> 
> So maybe this depends on whether a program runs as root or a different
> user, if it has dropped root privileges, or not, etc.

Yes, most certainly.  gpsd has to be root to get to SHM(0) and SHM(1).

Still unexplained is how this guy's gpsd is doing any hotplug
at all the way he has it configured without hot plug.

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

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpFBr5reNvNf.pgp
Description: OpenPGP digital signature


reply via email to

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