Messages in this thread | | | Date | Wed, 8 Dec 2004 23:09:19 +1100 | From | Stephen Rothwell <> | Subject | Re: [Compatibilty patch] sigtimedwait |
| |
> diff -Nraup a/include/linux/compat.h b/include/linux/compat.h > --- a/include/linux/compat.h 2004-12-06 13:04:33.000000000 +0800 > +++ b/include/linux/compat.h 2004-12-07 07:03:42.000000000 +0800 > @@ -143,6 +143,8 @@ long compat_get_bitmap(unsigned long *ma > unsigned long bitmap_size); > long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, > unsigned long bitmap_size); > - > +struct siginfo32; > +int copy_siginfo_from_user32(siginfo_t *to, struct siginfo32 __user *from); > +int copy_siginfo_to_user32(struct siginfo32 __user *to, siginfo_t *from);
for (some) consistency with the rest of the compat code, these should probably be
struct compat_siginfo;
int copy_compat_siginfo_from_user(siginfo_t *to, struct compat_siginfo __user *from); int copy_compat_siginfo_to_user(struct compat_siginfo __user *to, siginfo_t *from);
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |