[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: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed. |
Date: |
Tue, 13 Jan 2015 23:53:14 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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.
--
<a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>
- [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Eric S. Raymond, 2015/01/13
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Gary E. Miller, 2015/01/13
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Michael Tatarinov, 2015/01/13
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Gary E. Miller, 2015/01/14
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Michael Tatarinov, 2015/01/14
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Gary E. Miller, 2015/01/14
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Michael Tatarinov, 2015/01/14
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Harlan Stenn, 2015/01/14
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Gary E. Miller, 2015/01/14
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Bernd Zeimetz, 2015/01/17
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed.,
Eric S. Raymond <=
- Re: [gpsd-dev] Refactor the way NTP shared memory segments are addressed., Hal Murray, 2015/01/14