Re: [BUG] settimeofday(2) succeeds for microsecond value more thanUSEC_PER_SEC and for negative value

From: Eric Piel (Eric.Piel@Bull.Net)
Date: Fri Apr 11 2003 - 08:33:11 EST


george anzinger wrote:
>
> I suppose it is too much to ask, but it would be nice if
> do_sys_settimeofday() took a timespec instead of a timeval. Of course
> this changes the interface for all the archs, but it would allow the
> clock_settimeofday to send in the nsec value.
IMHO on IA64 it would not be a bad idea since internally everything is
computed on nsec. Currently there is conversion from usec to nsec at the
beginning of do_sys_settimeofday() :-)
I could support you on IA64 to do the change if this is needed.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:23 EST