gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed


From: Gary E. Miller
Subject: Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed.
Date: Tue, 13 Jan 2015 22:22:51 -0800

Yo Eric!

On Tue, 13 Jan 2015 23:53:14 -0500
"Eric S. Raymond" <address@hidden> wrote:

> Gary E. Miller <address@hidden>:
> > Yo Eric!
> > 
> > On Tue, 13 Jan 2015 23:03:02 -0500 (EST)
> > address@hidden (Eric S. Raymond) wrote:
> > 
> > > Please check that I haven't busted NTP segment allocation (that
> > > is, time reporting still works).  Then, with segment allocation
> > > better confined to ntpshm.c, we can discuss changing the
> > > allocation logic so the limit is removed.
> > 
> > Before I test the code, can you verify that you preserved the old
> > permissions?  Segments 0 and 1 need to be owned by root and
> > permissions 600.  Segments 2 and 3 may be owned by anyone, but must
> > be perms 666.
> > 
> > Also, what are the ownership/perms going to be on the new
> > segments?  Do you have a reference for how they should be?
> 
> The actual segment allocation hasn't changed at all.  I've only
> replaced indices into the segment pointer array with direct pointers,
> so far.

OK.  I'll go verify that tommorrow.

Any ideas on what the permissions should be on the potential new segments/

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



reply via email to

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