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

H. Peter Anvin hpa at zytor.com
Sat Jan 27 23:59:55 PST 2007


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




More information about the Devel mailing list