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

2007-02-27 Thread Alexey Dobriyan
imes[1].tv_sec) || > > + get_user(ts[1].tv_nsec, &utimes[1].tv_nsec)) > > + return -EFAULT; > > if (get_compat_timespec(&ts[0], &utimes[0]) || > get_compat_timespec(&ts[1], &utimes[1])) >

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

2007-02-26 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,

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

2007-02-26 Thread Alexey Dobriyan
[Apply after: lutimesat-simplify-utime2.patch lutimesat-extend-do_utimes-with-flags.patch lutimesat-actual-syscall-and-wire-up-on-i386.patch Tweak compat syscall number to match normal syscall number if needed.] Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- arch/x86_64/ia32/ia32ent