Re: [PATCH 3/3] lutimesat: actual syscall and wire-up on i386

H. Peter Anvin
2007-01-28T08:00:06Z

Alexey Dobriyan wrote:
> +asmlinkage long sys_lutimesat(int dfd, char __user *filename, struct timeval __user *utimes)

Could we get these to take struct timespec instead of struct timeval?

Right now we have a real problem in that the interfaces that *set* times
take struct timeval (microsecond granularity) but the interfaces that
*get* times return struct timespec (nanosecond granularity), which means
information loss on any setting operations.

-hpa