Source-Changes-HG archive

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

[src/trunk]: src/sys/compat regen:



details:   https://anonhg.NetBSD.org/src/rev/08a7cf6eb03a
branches:  trunk
changeset: 752648:08a7cf6eb03a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Mar 02 21:14:43 2010 +0000

description:
regen:
- remove nfssvc / fs_nfs.h / #ifdef NFS
- make getfh unconditional

diffstat:

 sys/compat/aoutm68k/aoutm68k_syscall.h     |  10 ++--------
 sys/compat/aoutm68k/aoutm68k_syscallargs.h |  14 ++------------
 sys/compat/aoutm68k/aoutm68k_syscalls.c    |  11 +++--------
 sys/compat/aoutm68k/aoutm68k_sysent.c      |  12 +++---------
 sys/compat/darwin/darwin_syscall.h         |  10 ++--------
 sys/compat/darwin/darwin_syscallargs.h     |  14 ++------------
 sys/compat/darwin/darwin_syscalls.c        |  11 +++--------
 sys/compat/darwin/darwin_sysent.c          |  12 +++---------
 sys/compat/freebsd/freebsd_file.c          |   8 ++------
 sys/compat/freebsd/freebsd_syscall.h       |   7 ++-----
 sys/compat/freebsd/freebsd_syscallargs.h   |  10 ++--------
 sys/compat/freebsd/freebsd_syscalls.c      |  10 +++-------
 sys/compat/freebsd/freebsd_sysent.c        |  11 +++--------
 sys/compat/netbsd32/netbsd32_syscall.h     |   7 ++-----
 sys/compat/netbsd32/netbsd32_syscallargs.h |  12 ++----------
 sys/compat/netbsd32/netbsd32_syscalls.c    |   9 ++++-----
 sys/compat/netbsd32/netbsd32_sysent.c      |  11 +++++------
 sys/compat/sunos32/sunos32_syscall.h       |  13 ++-----------
 sys/compat/sunos32/sunos32_syscallargs.h   |  19 ++-----------------
 sys/compat/sunos32/sunos32_syscalls.c      |  16 +++++-----------
 sys/compat/sunos32/sunos32_sysent.c        |  20 ++++++--------------
 sys/compat/ultrix/ultrix_syscall.h         |  13 ++-----------
 sys/compat/ultrix/ultrix_syscallargs.h     |  19 ++-----------------
 sys/compat/ultrix/ultrix_syscalls.c        |  18 +++++-------------
 sys/compat/ultrix/ultrix_sysent.c          |  22 ++++++----------------
 25 files changed, 75 insertions(+), 244 deletions(-)

diffs (truncated from 1024 to 300 lines):

diff -r ccbd0b1ef9c6 -r 08a7cf6eb03a sys/compat/aoutm68k/aoutm68k_syscall.h
--- a/sys/compat/aoutm68k/aoutm68k_syscall.h    Tue Mar 02 21:09:21 2010 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscall.h    Tue Mar 02 21:14:43 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscall.h,v 1.40 2010/03/02 16:09:10 pooka Exp $ */
+/* $NetBSD: aoutm68k_syscall.h,v 1.41 2010/03/02 21:14:43 pooka Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.35 2010/03/02 16:08:15 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp
  */
 
 #ifndef _AOUTM68K_SYS_SYSCALL_H_
@@ -562,13 +562,7 @@
                                /* 149 is excluded compat_43_sys_quota */
                                /* 150 is excluded compat_43_sys_getsockname */
 #endif
-#if defined(NFSSERVER) || !defined(_KERNEL)
-/* syscall: "nfssvc" ret: "int" args: "int" "void *" */
-#define        AOUTM68K_SYS_nfssvc     155
-
-#else
                                /* 155 is excluded nfssvc */
-#endif
 #if defined(COMPAT_43) || !defined(_KERNEL)
 /* syscall: "ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
 #define        AOUTM68K_SYS_ogetdirentries     156
diff -r ccbd0b1ef9c6 -r 08a7cf6eb03a sys/compat/aoutm68k/aoutm68k_syscallargs.h
--- a/sys/compat/aoutm68k/aoutm68k_syscallargs.h        Tue Mar 02 21:09:21 2010 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscallargs.h        Tue Mar 02 21:14:43 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscallargs.h,v 1.38 2010/03/02 16:09:10 pooka Exp $ */
+/* $NetBSD: aoutm68k_syscallargs.h,v 1.39 2010/03/02 21:14:43 pooka Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.35 2010/03/02 16:08:15 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp
  */
 
 #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_
@@ -364,11 +364,6 @@
 struct compat_43_sys_getsockname_args;
 #else
 #endif
-#if defined(NFSSERVER) || !defined(_KERNEL)
-
-struct sys_nfssvc_args;
-#else
-#endif
 #if defined(COMPAT_43) || !defined(_KERNEL)
 
 struct compat_43_sys_getdirentries_args;
@@ -1014,11 +1009,6 @@
 
 #else
 #endif
-#if defined(NFSSERVER) || !defined(_KERNEL)
-int    sys_nfssvc(struct lwp *, const struct sys_nfssvc_args *, register_t *);
-
-#else
-#endif
 #if defined(COMPAT_43) || !defined(_KERNEL)
 int    compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
 
diff -r ccbd0b1ef9c6 -r 08a7cf6eb03a sys/compat/aoutm68k/aoutm68k_syscalls.c
--- a/sys/compat/aoutm68k/aoutm68k_syscalls.c   Tue Mar 02 21:09:21 2010 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscalls.c   Tue Mar 02 21:14:43 2010 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: aoutm68k_syscalls.c,v 1.37 2010/03/02 16:09:10 pooka Exp $ */
+/* $NetBSD: aoutm68k_syscalls.c,v 1.38 2010/03/02 21:14:43 pooka Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.35 2010/03/02 16:08:15 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.37 2010/03/02 16:09:10 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.38 2010/03/02 21:14:43 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -18,7 +18,6 @@
 #include "opt_compat_netbsd.h"
 #include "opt_sysv.h"
 #include "opt_compat_43.h"
-#include "fs_nfs.h"
 #endif
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -306,11 +305,7 @@
        /* 152 */       "#152 (unimplemented)",
        /* 153 */       "#153 (unimplemented)",
        /* 154 */       "#154 (unimplemented)",
-#if defined(NFSSERVER) || !defined(_KERNEL)
-       /* 155 */       "nfssvc",
-#else
        /* 155 */       "#155 (excluded nfssvc)",
-#endif
 #if defined(COMPAT_43) || !defined(_KERNEL)
        /* 156 */       "ogetdirentries",
 #else
diff -r ccbd0b1ef9c6 -r 08a7cf6eb03a sys/compat/aoutm68k/aoutm68k_sysent.c
--- a/sys/compat/aoutm68k/aoutm68k_sysent.c     Tue Mar 02 21:09:21 2010 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_sysent.c     Tue Mar 02 21:14:43 2010 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: aoutm68k_sysent.c,v 1.42 2010/03/02 16:09:10 pooka Exp $ */
+/* $NetBSD: aoutm68k_sysent.c,v 1.43 2010/03/02 21:14:43 pooka Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.35 2010/03/02 16:08:15 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.42 2010/03/02 16:09:10 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.43 2010/03/02 21:14:43 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -17,7 +17,6 @@
 #include "opt_compat_netbsd.h"
 #include "opt_sysv.h"
 #include "opt_compat_43.h"
-#include "fs_nfs.h"
 #endif
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -506,13 +505,8 @@
            sys_nosys },                        /* 153 = unimplemented */
        { 0, 0, 0,
            sys_nosys },                        /* 154 = unimplemented */
-#if defined(NFSSERVER) || !defined(_KERNEL)
-       { ns(struct sys_nfssvc_args), 0,
-           (sy_call_t *)sys_nfssvc },          /* 155 = nfssvc */
-#else
        { 0, 0, 0,
            sys_nosys },                        /* 155 = excluded nfssvc */
-#endif
 #if defined(COMPAT_43) || !defined(_KERNEL)
        { ns(struct compat_43_sys_getdirentries_args), 0,
            (sy_call_t *)compat_43_sys_getdirentries },/* 156 = ogetdirentries */
diff -r ccbd0b1ef9c6 -r 08a7cf6eb03a sys/compat/darwin/darwin_syscall.h
--- a/sys/compat/darwin/darwin_syscall.h        Tue Mar 02 21:09:21 2010 +0000
+++ b/sys/compat/darwin/darwin_syscall.h        Tue Mar 02 21:14:43 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: darwin_syscall.h,v 1.58 2010/03/02 16:09:10 pooka Exp $ */
+/* $NetBSD: darwin_syscall.h,v 1.59 2010/03/02 21:14:43 pooka Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.39 2010/03/02 16:00:03 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.40 2010/03/02 21:07:21 pooka Exp
  */
 
 #ifndef _DARWIN_SYS_SYSCALL_H_
@@ -438,13 +438,7 @@
 /* syscall: "ogetsockname" ret: "int" args: "int" "void *" "int *" */
 #define        DARWIN_SYS_ogetsockname 150
 
-#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
-/* syscall: "nfssvc" ret: "int" args: "int" "void *" */
-#define        DARWIN_SYS_nfssvc       155
-
-#else
                                /* 155 is excluded nfssvc */
-#endif
 /* syscall: "ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
 #define        DARWIN_SYS_ogetdirentries       156
 
diff -r ccbd0b1ef9c6 -r 08a7cf6eb03a sys/compat/darwin/darwin_syscallargs.h
--- a/sys/compat/darwin/darwin_syscallargs.h    Tue Mar 02 21:09:21 2010 +0000
+++ b/sys/compat/darwin/darwin_syscallargs.h    Tue Mar 02 21:14:43 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: darwin_syscallargs.h,v 1.58 2010/03/02 16:09:10 pooka Exp $ */
+/* $NetBSD: darwin_syscallargs.h,v 1.59 2010/03/02 21:14:43 pooka Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.39 2010/03/02 16:00:03 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.40 2010/03/02 21:07:21 pooka Exp
  */
 
 #ifndef _DARWIN_SYS_SYSCALLARGS_H_
@@ -357,11 +357,6 @@
 struct compat_43_sys_killpg_args;
 
 struct compat_43_sys_getsockname_args;
-#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
-
-struct sys_nfssvc_args;
-#else
-#endif
 
 struct compat_43_sys_getdirentries_args;
 
@@ -836,11 +831,6 @@
 
 int    compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
 
-#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
-int    sys_nfssvc(struct lwp *, const struct sys_nfssvc_args *, register_t *);
-
-#else
-#endif
 int    compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
 
 int    darwin_sys_statfs(struct lwp *, const struct darwin_sys_statfs_args *, register_t *);
diff -r ccbd0b1ef9c6 -r 08a7cf6eb03a sys/compat/darwin/darwin_syscalls.c
--- a/sys/compat/darwin/darwin_syscalls.c       Tue Mar 02 21:09:21 2010 +0000
+++ b/sys/compat/darwin/darwin_syscalls.c       Tue Mar 02 21:14:43 2010 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: darwin_syscalls.c,v 1.59 2010/03/02 16:09:11 pooka Exp $ */
+/* $NetBSD: darwin_syscalls.c,v 1.60 2010/03/02 21:14:43 pooka Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.39 2010/03/02 16:00:03 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.40 2010/03/02 21:07:21 pooka Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: darwin_syscalls.c,v 1.59 2010/03/02 16:09:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: darwin_syscalls.c,v 1.60 2010/03/02 21:14:43 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -17,7 +17,6 @@
 #include "opt_compat_netbsd.h"
 #include "opt_sysv.h"
 #include "opt_compat_43.h"
-#include "fs_nfs.h"
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/signal.h>
@@ -201,11 +200,7 @@
        /* 152 */       "#152 (unimplemented setprivexec)",
        /* 153 */       "#153 (unimplemented pread)",
        /* 154 */       "#154 (unimplemented pwrite)",
-#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
-       /* 155 */       "nfssvc",
-#else
        /* 155 */       "#155 (excluded nfssvc)",
-#endif
        /* 156 */       "ogetdirentries",
        /* 157 */       "statfs",
        /* 158 */       "fstatfs",
diff -r ccbd0b1ef9c6 -r 08a7cf6eb03a sys/compat/darwin/darwin_sysent.c
--- a/sys/compat/darwin/darwin_sysent.c Tue Mar 02 21:09:21 2010 +0000
+++ b/sys/compat/darwin/darwin_sysent.c Tue Mar 02 21:14:43 2010 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: darwin_sysent.c,v 1.59 2010/03/02 16:09:11 pooka Exp $ */
+/* $NetBSD: darwin_sysent.c,v 1.60 2010/03/02 21:14:43 pooka Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.39 2010/03/02 16:00:03 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.40 2010/03/02 21:07:21 pooka Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: darwin_sysent.c,v 1.59 2010/03/02 16:09:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: darwin_sysent.c,v 1.60 2010/03/02 21:14:43 pooka Exp $");
 
 #include "opt_ktrace.h"
 #include "opt_nfsserver.h"
@@ -16,7 +16,6 @@
 #include "opt_compat_netbsd.h"
 #include "opt_sysv.h"
 #include "opt_compat_43.h"
-#include "fs_nfs.h"
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/signal.h>
@@ -361,13 +360,8 @@
            sys_nosys },                        /* 153 = unimplemented pread */
        { 0, 0, 0,
            sys_nosys },                        /* 154 = unimplemented pwrite */
-#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
-       { ns(struct sys_nfssvc_args), 0,



Home | Main Index | Thread Index | Old Index