[Devel] Re: [PATCH 4/3] lutimesat: compat syscall and wire up on x86_64

2007-02-27 Thread Alexey Dobriyan
On Tue, Feb 27, 2007 at 02:06:24PM +1100, Stephen Rothwell wrote: On Mon, 26 Feb 2007 19:50:24 +0300 Alexey Dobriyan [EMAIL PROTECTED] wrote: +asmlinkage long compat_sys_lutimesat(int dfd, char __user *filename, struct compat_timespec __user *utimes) +{ + struct timespec ts[2]; +

[Devel] Re: [PATCH 4/3] lutimesat: compat syscall and wire up on x86_64

2007-02-27 Thread Stephen Rothwell
On Mon, 26 Feb 2007 19:50:24 +0300 Alexey Dobriyan [EMAIL PROTECTED] wrote: +asmlinkage long compat_sys_lutimesat(int dfd, char __user *filename, struct compat_timespec __user *utimes) +{ + struct timespec ts[2]; + + if (utimes) { + if (get_user(ts[0].tv_sec,