public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linux-arch@vger.kernel.org
Subject: consolidate compat readv/writev/execve/select/nfsservctl
Date: Sun, 4 Apr 2004 02:19:30 +0200	[thread overview]
Message-ID: <200404040219.30785.arnd@arndb.de> (raw)

I have taken a closer look at some of the compat syscall handlers that
have not been consolidated yet. I'm following up with patches to
introduce new compat_sys_* functions for the largest four ones. All of
these have some bugs on most architectures, usually resulting from
missing updates after the native handler was changed.

For readv, writev, execve and select, ia64 and x86_64 use a different
method from the others and I chose to use the more common one, which
is a bit more code but avoids an extra copy of the user data.

The patches apply both to todays 2.6.5-rc3 snapshot as well as
2.6.5-rc3-mm4. They are also available at
http://www.arndb.de/patches/linux/2.6.5-rc3/. They are compile tested
for s390x and x86_64 and I've checked them functionally (except
nfsservctl) with LTP on x86_64.

Please test.

	Arnd <><

 arch/ia64/ia32/ia32_entry.S        |    6 
 arch/ia64/ia32/sys_ia32.c          |  357 ---------------
 arch/mips/kernel/linux32.c         |  533 -----------------------
 arch/mips/kernel/scall64-n32.S     |    6 
 arch/mips/kernel/scall64-o32.S     |    6 
 arch/parisc/kernel/sys_parisc32.c  |  539 -----------------------
 arch/parisc/kernel/syscall_table.S |    8 
 arch/ppc64/kernel/misc.S           |    6 
 arch/ppc64/kernel/sys_ppc32.c      |  761 ---------------------------------
 arch/s390/kernel/compat_linux.c    |  699 ------------------------------
 arch/s390/kernel/compat_wrapper.S  |   40 -
 arch/s390/kernel/syscalls.S        |    8 
 arch/sparc64/kernel/sys_sparc32.c  |  749 --------------------------------
 arch/sparc64/kernel/sys_sunos32.c  |   16 
 arch/sparc64/kernel/systbls.S      |    8 
 arch/x86_64/ia32/ia32entry.S       |    8 
 arch/x86_64/ia32/sys_ia32.c        |  531 -----------------------
 fs/compat.c                        |  845 +++++++++++++++++++++++++++++++++++++
 include/linux/compat.h             |   13 
 19 files changed, 946 insertions(+), 4193 deletions(-)

                 reply	other threads:[~2004-04-04  0:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200404040219.30785.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linux-arch@vger.kernel.org \
    /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