On Fri, 30 Jul 2021 11:48:27 -0500, Scott Cheloha wrote: > Sure, changed to "get or set the time of day". > > FWIW, the clock_gettime(2) one-liner is "get or set the time".
Thanks. > > Instead of saying that settimeofday ignores tz if not NULL why not > > just say that settimeofday ignores tz. Its value is not really > > relevant. > > We can't say we ignore tz because we don't. We still copyin() the > timezone struct if tz is not NULL and set EFAULT if the copy fails. > The contents are ignored, but the pointer given as argument is > validated when it isn't NULL. > > We talked about ignoring the tz argument completely when we removed > the timezone from the kernel but ultimately decided against it. Ah, right, for EFAULT. I misremembered the outcome of that discussion. OK millert@ - todd