Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/compat/linux/arch Regen files (requested by tv in t...



details:   https://anonhg.NetBSD.org/src/rev/268b31ae7193
branches:  netbsd-1-6
changeset: 530939:268b31ae7193
user:      jmc <jmc%NetBSD.org@localhost>
date:      Wed Oct 22 04:03:00 2003 +0000

description:
Regen files (requested by tv in ticket #1427)

Proper support for mmap2

diffstat:

 sys/compat/linux/arch/arm/linux_syscall.h         |  5 ++++-
 sys/compat/linux/arch/arm/linux_syscallargs.h     |  3 ++-
 sys/compat/linux/arch/arm/linux_syscalls.c        |  6 +++---
 sys/compat/linux/arch/arm/linux_sysent.c          |  8 ++++----
 sys/compat/linux/arch/arm/syscalls.master         |  6 ++++--
 sys/compat/linux/arch/i386/linux_syscall.h        |  6 +++---
 sys/compat/linux/arch/i386/linux_syscallargs.h    |  4 ++--
 sys/compat/linux/arch/i386/linux_syscalls.c       |  6 +++---
 sys/compat/linux/arch/i386/linux_sysent.c         |  8 ++++----
 sys/compat/linux/arch/i386/syscalls.master        |  4 ++--
 sys/compat/linux/arch/m68k/linux_syscall.h        |  5 ++++-
 sys/compat/linux/arch/m68k/linux_syscallargs.h    |  3 ++-
 sys/compat/linux/arch/m68k/linux_syscalls.c       |  6 +++---
 sys/compat/linux/arch/m68k/linux_sysent.c         |  8 ++++----
 sys/compat/linux/arch/m68k/syscalls.master        |  6 ++++--
 sys/compat/linux/arch/mips/linux_syscall.h        |  5 ++++-
 sys/compat/linux/arch/mips/linux_syscallargs.h    |  3 ++-
 sys/compat/linux/arch/mips/linux_syscalls.c       |  6 +++---
 sys/compat/linux/arch/mips/linux_sysent.c         |  8 ++++----
 sys/compat/linux/arch/mips/syscalls.master        |  6 ++++--
 sys/compat/linux/arch/powerpc/linux_syscall.h     |  5 ++++-
 sys/compat/linux/arch/powerpc/linux_syscallargs.h |  3 ++-
 sys/compat/linux/arch/powerpc/linux_syscalls.c    |  6 +++---
 sys/compat/linux/arch/powerpc/linux_sysent.c      |  8 ++++----
 sys/compat/linux/arch/powerpc/syscalls.master     |  6 ++++--
 25 files changed, 82 insertions(+), 58 deletions(-)

diffs (truncated from 560 to 300 lines):

diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.11 2002/05/12 15:05:56 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.11.4.1 2003/10/22 04:03:00 jmc Exp $ */
 
 /*
  * System call numbers.
@@ -469,6 +469,9 @@
 /* syscall: "ugetrlimit" ret: "int" args: "int" "struct rlimit *" */
 #define        LINUX_SYS_ugetrlimit    191
 
+/* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
+#define        LINUX_SYS_mmap2 192
+
 /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
 #define        LINUX_SYS_truncate64    193
 
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h     Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h     Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.11 2002/05/12 15:05:56 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.11.4.1 2003/10/22 04:03:00 jmc Exp $ */
 
 /*
  * System call argument lists.
@@ -716,6 +716,7 @@
 int    linux_sys_sigaltstack(struct proc *, void *, register_t *);
 int    sys___vfork14(struct proc *, void *, register_t *);
 int    linux_sys_ugetrlimit(struct proc *, void *, register_t *);
+int    linux_sys_mmap2(struct proc *, void *, register_t *);
 int    linux_sys_truncate64(struct proc *, void *, register_t *);
 int    sys_ftruncate(struct proc *, void *, register_t *);
 int    linux_sys_stat64(struct proc *, void *, register_t *);
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/arm/linux_syscalls.c
--- a/sys/compat/linux/arch/arm/linux_syscalls.c        Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscalls.c        Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscalls.c,v 1.11 2002/05/12 15:05:56 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.11.4.1 2003/10/22 04:03:00 jmc Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.11 2002/05/12 15:05:56 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.11.4.1 2003/10/22 04:03:00 jmc Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -224,7 +224,7 @@
        "#189 (unimplemented putpmsg)",         /* 189 = unimplemented putpmsg */
        "vfork",                        /* 190 = vfork */
        "ugetrlimit",                   /* 191 = ugetrlimit */
-       "#192 (unimplemented mmap2)",           /* 192 = unimplemented mmap2 */
+       "mmap2",                        /* 192 = mmap2 */
        "truncate64",                   /* 193 = truncate64 */
        "ftruncate64",                  /* 194 = ftruncate64 */
        "stat64",                       /* 195 = stat64 */
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/arm/linux_sysent.c
--- a/sys/compat/linux/arch/arm/linux_sysent.c  Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/arm/linux_sysent.c  Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sysent.c,v 1.11 2002/05/12 15:05:56 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.11.4.1 2003/10/22 04:03:00 jmc Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.11 2002/05/12 15:05:56 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.11.4.1 2003/10/22 04:03:00 jmc Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_43.h"
@@ -417,8 +417,8 @@
            sys___vfork14 },                    /* 190 = vfork */
        { 2, s(struct linux_sys_ugetrlimit_args), 0,
            linux_sys_ugetrlimit },             /* 191 = ugetrlimit */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 192 = unimplemented mmap2 */
+       { 6, s(struct linux_sys_mmap2_args), 0,
+           linux_sys_mmap2 },                  /* 192 = mmap2 */
        { 2, s(struct linux_sys_truncate64_args), 0,
            linux_sys_truncate64 },             /* 193 = truncate64 */
        { 2, s(struct sys_ftruncate_args), 0,
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/arm/syscalls.master
--- a/sys/compat/linux/arch/arm/syscalls.master Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/arm/syscalls.master Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.11 2002/05/12 15:04:27 jdolecek Exp $
+       $NetBSD: syscalls.master,v 1.11.4.1 2003/10/22 04:03:00 jmc Exp $
 
 ; Derived from sys/compat/linux/arch/*/syscalls.master
 ; and from Linux 2.4.12 arch/arm/kernel/calls.S
@@ -325,7 +325,9 @@
 190    NOARGS          vfork { int sys___vfork14(void); }
 191    STD             { int linux_sys_ugetrlimit(int which, \
                            struct rlimit *rlp); }
-192    UNIMPL          mmap2
+192    NOARGS          { linux_off_t linux_sys_mmap2(unsigned long addr, \
+                           size_t len, int prot, int flags, int fd, \
+                           linux_off_t offset); }
 193    STD             { int linux_sys_truncate64(const char *path, \
                                off_t length); }
 194    NOARGS          ftruncate64 { int sys_ftruncate(int fd, \
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h        Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h        Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.44 2002/04/10 18:19:07 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.44.4.1 2003/10/22 04:03:00 jmc Exp $ */
 
 /*
  * System call numbers.
@@ -482,8 +482,8 @@
 /* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
 #define        LINUX_SYS_ugetrlimit    191
 
-/* syscall: "mmap" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
-#define        LINUX_SYS_mmap  192
+/* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
+#define        LINUX_SYS_mmap2 192
 
 /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
 #define        LINUX_SYS_truncate64    193
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h    Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h    Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.44 2002/04/10 18:19:07 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.44.4.1 2003/10/22 04:03:00 jmc Exp $ */
 
 /*
  * System call argument lists.
@@ -769,7 +769,7 @@
 int    linux_sys_sigaltstack(struct proc *, void *, register_t *);
 int    sys___vfork14(struct proc *, void *, register_t *);
 int    linux_sys_ugetrlimit(struct proc *, void *, register_t *);
-int    linux_sys_mmap(struct proc *, void *, register_t *);
+int    linux_sys_mmap2(struct proc *, void *, register_t *);
 int    linux_sys_truncate64(struct proc *, void *, register_t *);
 int    sys_ftruncate(struct proc *, void *, register_t *);
 int    linux_sys_stat64(struct proc *, void *, register_t *);
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/i386/linux_syscalls.c
--- a/sys/compat/linux/arch/i386/linux_syscalls.c       Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscalls.c       Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscalls.c,v 1.45 2002/04/10 18:19:07 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.45.4.1 2003/10/22 04:03:00 jmc Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.45 2002/04/10 18:19:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.45.4.1 2003/10/22 04:03:00 jmc Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -221,7 +221,7 @@
        "#189 (unimplemented putpmsg)",         /* 189 = unimplemented putpmsg */
        "__vfork14",                    /* 190 = __vfork14 */
        "ugetrlimit",                   /* 191 = ugetrlimit */
-       "mmap",                 /* 192 = mmap */
+       "mmap2",                        /* 192 = mmap2 */
        "truncate64",                   /* 193 = truncate64 */
        "linux_ftruncate64",                    /* 194 = linux_ftruncate64 */
        "stat64",                       /* 195 = stat64 */
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/i386/linux_sysent.c
--- a/sys/compat/linux/arch/i386/linux_sysent.c Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/i386/linux_sysent.c Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sysent.c,v 1.44 2002/04/10 18:19:08 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.44.4.1 2003/10/22 04:03:00 jmc Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.44 2002/04/10 18:19:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.44.4.1 2003/10/22 04:03:00 jmc Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_43.h"
@@ -413,8 +413,8 @@
            sys___vfork14 },                    /* 190 = __vfork14 */
        { 2, s(struct linux_sys_ugetrlimit_args), 0,
            linux_sys_ugetrlimit },             /* 191 = ugetrlimit */
-       { 6, s(struct linux_sys_mmap_args), 0,
-           linux_sys_mmap },                   /* 192 = mmap */
+       { 6, s(struct linux_sys_mmap2_args), 0,
+           linux_sys_mmap2 },                  /* 192 = mmap2 */
        { 2, s(struct linux_sys_truncate64_args), 0,
            linux_sys_truncate64 },             /* 193 = truncate64 */
        { 2, s(struct sys_ftruncate_args), 0,
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/i386/syscalls.master
--- a/sys/compat/linux/arch/i386/syscalls.master        Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/i386/syscalls.master        Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.63 2002/04/10 18:18:27 christos Exp $
+       $NetBSD: syscalls.master,v 1.63.4.1 2003/10/22 04:03:00 jmc Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -324,7 +324,7 @@
 190    NOARGS          { int sys___vfork14(void); }
 191    STD             { int linux_sys_ugetrlimit(int which, \
                            struct orlimit *rlp); }
-192    NOARGS          { linux_off_t linux_sys_mmap(unsigned long addr, \
+192    NOARGS          { linux_off_t linux_sys_mmap2(unsigned long addr, \
                            size_t len, int prot, int flags, int fd, \
                            linux_off_t offset); }
 193    STD             { int linux_sys_truncate64(const char *path, \
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h        Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h        Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.42 2002/05/12 13:57:08 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.42.4.1 2003/10/22 04:03:01 jmc Exp $ */
 
 /*
  * System call numbers.
@@ -468,6 +468,9 @@
 /* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
 #define        LINUX_SYS_ugetrlimit    191
 
+/* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
+#define        LINUX_SYS_mmap2 192
+
 /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
 #define        LINUX_SYS_truncate64    193
 
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h    Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h    Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.42 2002/05/12 13:57:08 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.42.4.1 2003/10/22 04:03:01 jmc Exp $ */
 
 /*
  * System call argument lists.
@@ -741,6 +741,7 @@
 int    linux_sys_sigaltstack(struct proc *, void *, register_t *);
 int    sys___vfork14(struct proc *, void *, register_t *);
 int    linux_sys_ugetrlimit(struct proc *, void *, register_t *);
+int    linux_sys_mmap2(struct proc *, void *, register_t *);
 int    linux_sys_truncate64(struct proc *, void *, register_t *);
 int    sys_ftruncate(struct proc *, void *, register_t *);
 int    linux_sys_stat64(struct proc *, void *, register_t *);
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c       Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c       Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscalls.c,v 1.43 2002/05/12 13:57:08 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.43.4.1 2003/10/22 04:03:01 jmc Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.43 2002/05/12 13:57:08 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.43.4.1 2003/10/22 04:03:01 jmc Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -237,7 +237,7 @@
        "#189 (unimplemented putpmsg)",         /* 189 = unimplemented putpmsg */
        "__vfork14",                    /* 190 = __vfork14 */
        "ugetrlimit",                   /* 191 = ugetrlimit */
-       "#192 (unimplemented mmap2)",           /* 192 = unimplemented mmap2 */
+       "mmap2",                        /* 192 = mmap2 */
        "truncate64",                   /* 193 = truncate64 */
        "ftruncate64",                  /* 194 = ftruncate64 */
        "stat64",                       /* 195 = stat64 */
diff -r c8be88ee4d48 -r 268b31ae7193 sys/compat/linux/arch/m68k/linux_sysent.c
--- a/sys/compat/linux/arch/m68k/linux_sysent.c Wed Oct 22 03:50:05 2003 +0000
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c Wed Oct 22 04:03:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sysent.c,v 1.42 2002/05/12 13:57:08 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.42.4.1 2003/10/22 04:03:01 jmc Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>



Home | Main Index | Thread Index | Old Index