lkml.org 
[lkml]   [2004]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.058 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site