Source-Changes-HG archive

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

[src/trunk]: src/sys Regen (new makesyscalls.sh)



details:   https://anonhg.NetBSD.org/src/rev/d9ef0abcfe4a
branches:  trunk
changeset: 749992:d9ef0abcfe4a
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Dec 14 00:53:32 2009 +0000

description:
Regen (new makesyscalls.sh)

diffstat:

 sys/compat/aoutm68k/aoutm68k_syscall.h            |   2 +-
 sys/compat/aoutm68k/aoutm68k_syscallargs.h        |   2 +-
 sys/compat/aoutm68k/aoutm68k_syscalls.c           |   4 ++--
 sys/compat/aoutm68k/aoutm68k_sysent.c             |  23 +++++++++++------------
 sys/compat/darwin/darwin_syscall.h                |   2 +-
 sys/compat/darwin/darwin_syscallargs.h            |   2 +-
 sys/compat/darwin/darwin_syscalls.c               |   4 ++--
 sys/compat/darwin/darwin_sysent.c                 |  13 ++++++-------
 sys/compat/freebsd/freebsd_syscall.h              |   2 +-
 sys/compat/freebsd/freebsd_syscallargs.h          |   2 +-
 sys/compat/freebsd/freebsd_syscalls.c             |   4 ++--
 sys/compat/freebsd/freebsd_sysent.c               |  17 ++++++++---------
 sys/compat/ibcs2/ibcs2_syscall.h                  |   2 +-
 sys/compat/ibcs2/ibcs2_syscallargs.h              |   2 +-
 sys/compat/ibcs2/ibcs2_syscalls.c                 |   4 ++--
 sys/compat/ibcs2/ibcs2_sysent.c                   |   5 ++---
 sys/compat/irix/irix_syscall.h                    |   2 +-
 sys/compat/irix/irix_syscallargs.h                |   2 +-
 sys/compat/irix/irix_syscalls.c                   |   4 ++--
 sys/compat/irix/irix_sysent.c                     |   9 ++++-----
 sys/compat/linux/arch/alpha/linux_syscall.h       |   2 +-
 sys/compat/linux/arch/alpha/linux_syscallargs.h   |   2 +-
 sys/compat/linux/arch/alpha/linux_syscalls.c      |   4 ++--
 sys/compat/linux/arch/alpha/linux_sysent.c        |   4 ++--
 sys/compat/linux/arch/amd64/linux_syscall.h       |   2 +-
 sys/compat/linux/arch/amd64/linux_syscallargs.h   |   2 +-
 sys/compat/linux/arch/amd64/linux_syscalls.c      |   4 ++--
 sys/compat/linux/arch/amd64/linux_sysent.c        |   8 ++++----
 sys/compat/linux/arch/arm/linux_syscall.h         |   2 +-
 sys/compat/linux/arch/arm/linux_syscallargs.h     |   2 +-
 sys/compat/linux/arch/arm/linux_syscalls.c        |   4 ++--
 sys/compat/linux/arch/arm/linux_sysent.c          |   8 ++++----
 sys/compat/linux/arch/i386/linux_syscall.h        |   2 +-
 sys/compat/linux/arch/i386/linux_syscallargs.h    |   2 +-
 sys/compat/linux/arch/i386/linux_syscalls.c       |   4 ++--
 sys/compat/linux/arch/i386/linux_sysent.c         |   8 ++++----
 sys/compat/linux/arch/m68k/linux_syscall.h        |   2 +-
 sys/compat/linux/arch/m68k/linux_syscallargs.h    |   2 +-
 sys/compat/linux/arch/m68k/linux_syscalls.c       |   4 ++--
 sys/compat/linux/arch/m68k/linux_sysent.c         |   8 ++++----
 sys/compat/linux/arch/mips/linux_syscall.h        |   2 +-
 sys/compat/linux/arch/mips/linux_syscallargs.h    |   2 +-
 sys/compat/linux/arch/mips/linux_syscalls.c       |   4 ++--
 sys/compat/linux/arch/mips/linux_sysent.c         |   8 ++++----
 sys/compat/linux/arch/powerpc/linux_syscall.h     |   2 +-
 sys/compat/linux/arch/powerpc/linux_syscallargs.h |   2 +-
 sys/compat/linux/arch/powerpc/linux_syscalls.c    |   4 ++--
 sys/compat/linux/arch/powerpc/linux_sysent.c      |   8 ++++----
 sys/compat/mach/mach_syscall.h                    |   2 +-
 sys/compat/mach/mach_syscallargs.h                |   2 +-
 sys/compat/mach/mach_syscalls.c                   |   4 ++--
 sys/compat/mach/mach_sysent.c                     |   5 ++---
 sys/compat/netbsd32/netbsd32_syscall.h            |   4 ++--
 sys/compat/netbsd32/netbsd32_syscallargs.h        |   4 ++--
 sys/compat/netbsd32/netbsd32_syscalls.c           |   6 +++---
 sys/compat/netbsd32/netbsd32_sysent.c             |   6 +++---
 sys/compat/osf1/osf1_syscall.h                    |   2 +-
 sys/compat/osf1/osf1_syscallargs.h                |   2 +-
 sys/compat/osf1/osf1_syscalls.c                   |   4 ++--
 sys/compat/osf1/osf1_sysent.c                     |  13 ++++++-------
 sys/compat/sunos/sunos_syscall.h                  |   2 +-
 sys/compat/sunos/sunos_syscallargs.h              |   2 +-
 sys/compat/sunos/sunos_syscalls.c                 |   4 ++--
 sys/compat/sunos/sunos_sysent.c                   |   5 ++---
 sys/compat/sunos32/sunos32_syscall.h              |   2 +-
 sys/compat/sunos32/sunos32_syscallargs.h          |   2 +-
 sys/compat/sunos32/sunos32_syscalls.c             |   4 ++--
 sys/compat/sunos32/sunos32_sysent.c               |   5 ++---
 sys/compat/svr4/svr4_syscall.h                    |   2 +-
 sys/compat/svr4/svr4_syscallargs.h                |   2 +-
 sys/compat/svr4/svr4_syscalls.c                   |   4 ++--
 sys/compat/svr4/svr4_sysent.c                     |   5 ++---
 sys/compat/svr4_32/svr4_32_syscall.h              |   2 +-
 sys/compat/svr4_32/svr4_32_syscallargs.h          |   2 +-
 sys/compat/svr4_32/svr4_32_syscalls.c             |   4 ++--
 sys/compat/svr4_32/svr4_32_sysent.c               |   5 ++---
 sys/compat/ultrix/ultrix_syscall.h                |   2 +-
 sys/compat/ultrix/ultrix_syscallargs.h            |   2 +-
 sys/compat/ultrix/ultrix_syscalls.c               |   4 ++--
 sys/compat/ultrix/ultrix_sysent.c                 |   5 ++---
 sys/kern/init_sysent.c                            |   6 +++---
 sys/kern/syscalls.c                               |   6 +++---
 sys/sys/syscall.h                                 |   4 ++--
 sys/sys/syscallargs.h                             |   4 ++--
 84 files changed, 171 insertions(+), 183 deletions(-)

diffs (truncated from 1445 to 300 lines):

diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/aoutm68k/aoutm68k_syscall.h
--- a/sys/compat/aoutm68k/aoutm68k_syscall.h    Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscall.h    Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_syscall.h,v 1.38 2009/01/13 22:33:08 pooka Exp $ */
+/* $NetBSD: aoutm68k_syscall.h,v 1.39 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call numbers.
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/aoutm68k/aoutm68k_syscallargs.h
--- a/sys/compat/aoutm68k/aoutm68k_syscallargs.h        Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscallargs.h        Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_syscallargs.h,v 1.36 2009/01/13 22:33:08 pooka Exp $ */
+/* $NetBSD: aoutm68k_syscallargs.h,v 1.37 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call argument lists.
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/aoutm68k/aoutm68k_syscalls.c
--- a/sys/compat/aoutm68k/aoutm68k_syscalls.c   Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscalls.c   Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_syscalls.c,v 1.35 2009/01/13 22:33:08 pooka Exp $ */
+/* $NetBSD: aoutm68k_syscalls.c,v 1.36 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.35 2009/01/13 22:33:08 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.36 2009/12/14 00:58:35 matt Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/aoutm68k/aoutm68k_sysent.c
--- a/sys/compat/aoutm68k/aoutm68k_sysent.c     Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_sysent.c     Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_sysent.c,v 1.40 2009/01/13 22:33:08 pooka Exp $ */
+/* $NetBSD: aoutm68k_sysent.c,v 1.41 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.40 2009/01/13 22:33:08 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.41 2009/12/14 00:58:35 matt Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -587,9 +587,9 @@
 #endif
        { 0, 0, 0,
            sys_nosys },                        /* 172 = unimplemented */
-       { ns(struct sys_pread_args), 0,
+       { ns(struct sys_pread_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
            (sy_call_t *)sys_pread },           /* 173 = pread */
-       { ns(struct sys_pwrite_args), 0,
+       { ns(struct sys_pwrite_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
            (sy_call_t *)sys_pwrite },          /* 174 = pwrite */
        { 0, 0, 0,
            sys_nosys },                        /* 175 = unimplemented sys_ntp_gettime */
@@ -665,15 +665,15 @@
        { 0, 0, 0,
            sys_nosys },                        /* 196 = excluded compat_12_sys_getdirentries */
 #endif
-       { ns(struct sys_mmap_args), 0,
+       { ns(struct sys_mmap_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64,
            (sy_call_t *)sys_mmap },            /* 197 = mmap */
-       { ns(struct sys___syscall_args), SYCALL_INDIRECT | 0,
+       { ns(struct sys___syscall_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT | 0,
            (sy_call_t *)sys___syscall },       /* 198 = __syscall */
-       { ns(struct sys_lseek_args), 0,
+       { ns(struct sys_lseek_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64,
            (sy_call_t *)sys_lseek },           /* 199 = lseek */
-       { ns(struct sys_truncate_args), 0,
+       { ns(struct sys_truncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
            (sy_call_t *)sys_truncate },        /* 200 = truncate */
-       { ns(struct sys_ftruncate_args), 0,
+       { ns(struct sys_ftruncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
            (sy_call_t *)sys_ftruncate },       /* 201 = ftruncate */
        { ns(struct sys___sysctl_args), 0,
            (sy_call_t *)sys___sysctl },        /* 202 = __sysctl */
@@ -907,9 +907,9 @@
        { 0, 0, 0,
            sys_nosys },                        /* 288 = excluded ktrace */
 #endif
-       { ns(struct sys_preadv_args), 0,
+       { ns(struct sys_preadv_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
            (sy_call_t *)sys_preadv },          /* 289 = preadv */
-       { ns(struct sys_pwritev_args), 0,
+       { ns(struct sys_pwritev_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
            (sy_call_t *)sys_pwritev },         /* 290 = pwritev */
 #if defined(COMPAT_16) || !defined(_KERNEL)
        { ns(struct compat_16_sys___sigaction14_args), 0,
@@ -1384,4 +1384,3 @@
        { 0, 0, 0,
            sys_nosys },                        /* 511 = filler */
 };
-
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/darwin/darwin_syscall.h
--- a/sys/compat/darwin/darwin_syscall.h        Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/darwin/darwin_syscall.h        Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: darwin_syscall.h,v 1.56 2009/01/13 22:33:08 pooka Exp $ */
+/* $NetBSD: darwin_syscall.h,v 1.57 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call numbers.
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/darwin/darwin_syscallargs.h
--- a/sys/compat/darwin/darwin_syscallargs.h    Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/darwin/darwin_syscallargs.h    Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: darwin_syscallargs.h,v 1.56 2009/01/13 22:33:08 pooka Exp $ */
+/* $NetBSD: darwin_syscallargs.h,v 1.57 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call argument lists.
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/darwin/darwin_syscalls.c
--- a/sys/compat/darwin/darwin_syscalls.c       Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/darwin/darwin_syscalls.c       Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: darwin_syscalls.c,v 1.57 2009/01/13 22:33:09 pooka Exp $ */
+/* $NetBSD: darwin_syscalls.c,v 1.58 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: darwin_syscalls.c,v 1.57 2009/01/13 22:33:09 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: darwin_syscalls.c,v 1.58 2009/12/14 00:58:35 matt Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/darwin/darwin_sysent.c
--- a/sys/compat/darwin/darwin_sysent.c Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/darwin/darwin_sysent.c Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: darwin_sysent.c,v 1.57 2009/01/13 22:33:09 pooka Exp $ */
+/* $NetBSD: darwin_sysent.c,v 1.58 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: darwin_sysent.c,v 1.57 2009/01/13 22:33:09 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: darwin_sysent.c,v 1.58 2009/12/14 00:58:35 matt Exp $");
 
 #include "opt_ktrace.h"
 #include "opt_nfsserver.h"
@@ -456,15 +456,15 @@
            (sy_call_t *)sys_setrlimit },       /* 195 = setrlimit */
        { ns(struct compat_12_sys_getdirentries_args), 0,
            (sy_call_t *)compat_12_sys_getdirentries },/* 196 = getdirentries */
-       { ns(struct sys_mmap_args), 0,
+       { ns(struct sys_mmap_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64,
            (sy_call_t *)sys_mmap },            /* 197 = mmap */
        { 0, 0, 0,
            sys_nosys },                        /* 198 = unimplemented */
-       { ns(struct darwin_sys_lseek_args), 0,
+       { ns(struct darwin_sys_lseek_args), SYCALL_RET_64,
            (sy_call_t *)darwin_sys_lseek },    /* 199 = lseek */
-       { ns(struct sys_truncate_args), 0,
+       { ns(struct sys_truncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
            (sy_call_t *)sys_truncate },        /* 200 = truncate */
-       { ns(struct sys_ftruncate_args), 0,
+       { ns(struct sys_ftruncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
            (sy_call_t *)sys_ftruncate },       /* 201 = ftruncate */
        { ns(struct darwin_sys___sysctl_args), 0,
            (sy_call_t *)darwin_sys___sysctl }, /* 202 = __sysctl */
@@ -1087,4 +1087,3 @@
        { 0, 0, 0,
            sys_nosys },                        /* 511 = filler */
 };
-
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/freebsd/freebsd_syscall.h
--- a/sys/compat/freebsd/freebsd_syscall.h      Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/freebsd/freebsd_syscall.h      Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: freebsd_syscall.h,v 1.73 2009/01/13 22:33:09 pooka Exp $ */
+/* $NetBSD: freebsd_syscall.h,v 1.74 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call numbers.
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/freebsd/freebsd_syscallargs.h
--- a/sys/compat/freebsd/freebsd_syscallargs.h  Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/freebsd/freebsd_syscallargs.h  Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: freebsd_syscallargs.h,v 1.76 2009/01/13 22:33:09 pooka Exp $ */
+/* $NetBSD: freebsd_syscallargs.h,v 1.77 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call argument lists.
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/freebsd/freebsd_syscalls.c
--- a/sys/compat/freebsd/freebsd_syscalls.c     Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/freebsd/freebsd_syscalls.c     Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: freebsd_syscalls.c,v 1.73 2009/01/13 22:33:09 pooka Exp $ */
+/* $NetBSD: freebsd_syscalls.c,v 1.74 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.73 2009/01/13 22:33:09 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.74 2009/12/14 00:58:35 matt Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/freebsd/freebsd_sysent.c
--- a/sys/compat/freebsd/freebsd_sysent.c       Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/freebsd/freebsd_sysent.c       Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: freebsd_sysent.c,v 1.75 2009/01/13 22:33:09 pooka Exp $ */
+/* $NetBSD: freebsd_sysent.c,v 1.76 2009/12/14 00:58:35 matt Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.75 2009/01/13 22:33:09 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.76 2009/12/14 00:58:35 matt Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -409,9 +409,9 @@
 #endif
        { 0, 0, 0,
            sys_nosys },                        /* 172 = unimplemented */
-       { ns(struct sys_pread_args), 0,
+       { ns(struct sys_pread_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
            (sy_call_t *)sys_pread },           /* 173 = pread */
-       { ns(struct sys_pwrite_args), 0,
+       { ns(struct sys_pwrite_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
            (sy_call_t *)sys_pwrite },          /* 174 = pwrite */
        { 0, 0, 0,
            sys_nosys },                        /* 175 = unimplemented */
@@ -473,15 +473,15 @@
            (sy_call_t *)sys_setrlimit },       /* 195 = setrlimit */
        { ns(struct compat_12_sys_getdirentries_args), 0,
            (sy_call_t *)compat_12_sys_getdirentries },/* 196 = getdirentries */
-       { ns(struct freebsd_sys_mmap_args), 0,
+       { ns(struct freebsd_sys_mmap_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64,
            (sy_call_t *)freebsd_sys_mmap },    /* 197 = mmap */
        { 0, 0, 0,
            (sy_call_t *)sys_nosys },           /* 198 = __syscall */
-       { ns(struct sys_lseek_args), 0,
+       { ns(struct sys_lseek_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64,
            (sy_call_t *)sys_lseek },           /* 199 = lseek */
-       { ns(struct sys_truncate_args), 0,
+       { ns(struct sys_truncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
            (sy_call_t *)sys_truncate },        /* 200 = truncate */
-       { ns(struct sys_ftruncate_args), 0,
+       { ns(struct sys_ftruncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
            (sy_call_t *)sys_ftruncate },       /* 201 = ftruncate */
        { ns(struct freebsd_sys_sysctl_args), 0,
            (sy_call_t *)freebsd_sys_sysctl },  /* 202 = sysctl */
@@ -1168,4 +1168,3 @@
        { 0, 0, 0,
            sys_nosys },                        /* 511 = filler */
 };
-
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/ibcs2/ibcs2_syscall.h
--- a/sys/compat/ibcs2/ibcs2_syscall.h  Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/ibcs2/ibcs2_syscall.h  Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_syscall.h,v 1.47 2009/01/13 22:33:09 pooka Exp $ */
+/* $NetBSD: ibcs2_syscall.h,v 1.48 2009/12/14 00:58:36 matt Exp $ */
 
 /*
  * System call numbers.
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/ibcs2/ibcs2_syscallargs.h
--- a/sys/compat/ibcs2/ibcs2_syscallargs.h      Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/ibcs2/ibcs2_syscallargs.h      Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_syscallargs.h,v 1.48 2009/01/13 22:33:09 pooka Exp $ */
+/* $NetBSD: ibcs2_syscallargs.h,v 1.49 2009/12/14 00:58:36 matt Exp $ */
 
 /*
  * System call argument lists.
diff -r 73c4fcc6bb61 -r d9ef0abcfe4a sys/compat/ibcs2/ibcs2_syscalls.c
--- a/sys/compat/ibcs2/ibcs2_syscalls.c Mon Dec 14 00:52:38 2009 +0000
+++ b/sys/compat/ibcs2/ibcs2_syscalls.c Mon Dec 14 00:53:32 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_syscalls.c,v 1.48 2009/01/13 22:33:09 pooka Exp $ */
+/* $NetBSD: ibcs2_syscalls.c,v 1.49 2009/12/14 00:58:36 matt Exp $ */
 
 /*



Home | Main Index | Thread Index | Old Index