On 31/12/19(Tue) 15:00, Todd C. Miller wrote:
> On Tue, 31 Dec 2019 16:35:59 +0100, Martin Pieuchot wrote:
> 
> > I'd like to stop converting the given timespec to ticks and instead use
> > nanoseconds.  This is part of the ongoing effort to reduce the use of
> > `hz' through the kernel.
> >
> > Since I don't know C I'd appreciate any pointer about the checks that
> > should be added to TIMESPEC_TO_NSEC().
> 
> Is it possible for tv_sec or tv_nsec to be negative?

Not in those two syscalls.

Reply via email to