Source-Changes-D archive

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

re: CVS commit: src/libexec/rpc.rstatd



"Robert Elz" writes:
> Module Name:	src
> Committed By:	kre
> Date:		Tue Oct 30 21:18:39 UTC 2018
> 
> Modified Files:
> 	src/libexec/rpc.rstatd: rstat_proc.c
> 
> Log Message:
> sysctl(KERN_BOOTTIME) is a struct timespec, not struct timeval
> and has eben since 2009.    Adapt.
> 
> NFCI - while the tv_usec (now tv_nsec) field is used, we will
> keep its uses to microsecond precision to avoid any compat issues.

hmmm... feels like KERN_BOOTTIMESPEC should be added instead,
and the compat restored for this old API.

or should have been 9 years ago :-(


.mrg.


Home | Main Index | Thread Index | Old Index