From: Stephen Rothwell <sfr@canb.auug.org.au>
To: "Zou, Nanhai" <nanhai.zou@intel.com>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org, tony.luck@intel.com,
ak@suse.de, ralf@linux-mips.org, paulus@au.ibm.com,
schwidefsky@de.ibm.com, Davem@davemloft.net
Subject: Re: [Compatibilty patch] sigtimedwait
Date: Wed, 8 Dec 2004 23:09:19 +1100 [thread overview]
Message-ID: <20041208230919.7a3a37fc.sfr@canb.auug.org.au> (raw)
In-Reply-To: <894E37DECA393E4D9374E0ACBBE7427013C9FB@pdsmsx402.ccr.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
> 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/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-12-08 12:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-08 0:48 Zou, Nanhai
2004-12-08 5:35 ` David S. Miller
2004-12-08 11:32 ` Stephen Rothwell
2004-12-08 12:09 ` Stephen Rothwell [this message]
2004-12-10 0:40 Zou, Nanhai
2004-12-10 1:08 ` David S. Miller
2004-12-10 0:49 Zou, Nanhai
2004-12-14 6:00 Zou, Nanhai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041208230919.7a3a37fc.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=Davem@davemloft.net \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nanhai.zou@intel.com \
--cc=paulus@au.ibm.com \
--cc=ralf@linux-mips.org \
--cc=schwidefsky@de.ibm.com \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®