Re: Has anybody seen a system without STA_NANO?

2020-08-25 Thread Eric S. Raymond via devel
Daniel Franke : > clock_gettime is. Adjtimex isn't in any standard except for an obscure RFC > that nobody follows. > > On Tue, Aug 25, 2020, 20:47 Eric S. Raymond via devel > wrote: > > > Hal Murray via devel : > > > > > > When was clock_gettime and struct timespec introduced? > > > > > > We ca

Re: Has anybody seen a system without STA_NANO?

2020-08-25 Thread Hal Murray via devel
> We can cleanup some cruft if we assume it exists. My "it" referred to STA_NANO rather than clock_gettime and struct timespec I was just assuming that most systems would have added STA_NANO where appropriate after they implemented nanosecond timekeeping and struct timespec. Of course, a system

Re: Has anybody seen a system without STA_NANO?

2020-08-25 Thread Daniel Franke via devel
clock_gettime is. Adjtimex isn't in any standard except for an obscure RFC that nobody follows. On Tue, Aug 25, 2020, 20:47 Eric S. Raymond via devel wrote: > Hal Murray via devel : > > > > When was clock_gettime and struct timespec introduced? > > > > We can cleanup some cruft if we assume it e

Re: Has anybody seen a system without STA_NANO?

2020-08-25 Thread Eric S. Raymond via devel
Hal Murray via devel : > > When was clock_gettime and struct timespec introduced? > > We can cleanup some cruft if we assume it exists. Assune it. These are in the Single Unix Standard. -- http://www.catb.org/~esr/";>Eric S. Raymond ___

Should we check permissions on files that should be secret?

2020-08-25 Thread Hal Murray via devel
There are 3 files I can think of. Did I miss any? The keys file for shared key authentication. The NTS private key for the server certificate The NTS key file for making/decoding cookies We need to be able to write the cookie file. The others can be (should be?) read only. Things may b

Re: Has anybody seen a system without STA_NANO?

2020-08-25 Thread Daniel Franke via devel
It's present on Linux, FreeBSD, NetBSD, and Darwin. It's absent on Solaris and IllumOS. On Tue, Aug 25, 2020 at 8:03 PM Hal Murray via devel wrote: > > > When was clock_gettime and struct timespec introduced? > > We can cleanup some cruft if we assume it exists. > > -- > These are my opinions. I

Has anybody seen a system without STA_NANO?

2020-08-25 Thread Hal Murray via devel
When was clock_gettime and struct timespec introduced? We can cleanup some cruft if we assume it exists. -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel

Your recent switch to use pthread_setschedparam

2020-08-25 Thread Hal Murray via devel
Is inside an #ifdef HAVE_SCHED_SETSCHEDULER -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel