Source-Changes-HG archive

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

[src/trunk]: src/sys/compat set struct emul's nsysent to compat SYS_NSYSENT, ...



details:   https://anonhg.NetBSD.org/src/rev/8f08581a3e41
branches:  trunk
changeset: 538858:8f08581a3e41
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Nov 01 19:26:21 2002 +0000

description:
set struct emul's nsysent to compat SYS_NSYSENT, not SYS_MAXSYSCALL

diffstat:

 sys/compat/aout/aout_exec.c           |  6 +++---
 sys/compat/aoutm68k/aoutm68k_exec.c   |  6 +++---
 sys/compat/freebsd/freebsd_exec.c     |  6 +++---
 sys/compat/hpux/hpux_exec.c           |  6 +++---
 sys/compat/ibcs2/ibcs2_exec.c         |  6 +++---
 sys/compat/irix/irix_exec.c           |  6 +++---
 sys/compat/linux/common/linux_exec.c  |  6 +++---
 sys/compat/mach/mach_exec.c           |  6 +++---
 sys/compat/netbsd32/netbsd32_netbsd.c |  6 +++---
 sys/compat/osf1/osf1_exec.c           |  6 +++---
 sys/compat/pecoff/pecoff_emul.c       |  6 +++---
 sys/compat/sunos/sunos_exec.c         |  6 +++---
 sys/compat/sunos32/sunos32_exec.c     |  6 +++---
 sys/compat/svr4/svr4_exec.c           |  6 +++---
 sys/compat/svr4_32/svr4_32_exec.c     |  6 +++---
 sys/compat/ultrix/ultrix_misc.c       |  6 +++---
 16 files changed, 48 insertions(+), 48 deletions(-)

diffs (truncated from 432 to 300 lines):

diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/aout/aout_exec.c
--- a/sys/compat/aout/aout_exec.c       Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/aout/aout_exec.c       Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aout_exec.c,v 1.14 2002/09/21 21:14:55 manu Exp $      */
+/*     $NetBSD: aout_exec.c,v 1.15 2002/11/01 19:26:21 jdolecek Exp $  */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aout_exec.c,v 1.14 2002/09/21 21:14:55 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aout_exec.c,v 1.15 2002/11/01 19:26:21 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_syscall_debug.h"
@@ -69,7 +69,7 @@
        EMUL_HAS_SYS___syscall,
        NULL,
        AOUT_SYS_syscall,
-       AOUT_SYS_MAXSYSCALL,
+       AOUT_SYS_NSYSENT,
 #endif
        aout_sysent,
 #ifdef SYSCALL_DEBUG
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/aoutm68k/aoutm68k_exec.c
--- a/sys/compat/aoutm68k/aoutm68k_exec.c       Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_exec.c       Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aoutm68k_exec.c,v 1.10 2002/09/21 21:14:55 manu Exp $  */
+/*     $NetBSD: aoutm68k_exec.c,v 1.11 2002/11/01 19:26:24 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_exec.c,v 1.10 2002/09/21 21:14:55 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_exec.c,v 1.11 2002/11/01 19:26:24 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_syscall_debug.h"
@@ -65,7 +65,7 @@
        EMUL_HAS_SYS___syscall,
        NULL,
        AOUTM68K_SYS_syscall,
-       AOUTM68K_SYS_MAXSYSCALL,
+       AOUTM68K_SYS_NSYSENT,
        aoutm68k_sysent,
 #ifdef SYSCALL_DEBUG
        aoutm68k_syscallnames,
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/freebsd/freebsd_exec.c
--- a/sys/compat/freebsd/freebsd_exec.c Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/freebsd/freebsd_exec.c Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_exec.c,v 1.18 2002/09/21 21:14:56 manu Exp $   */
+/*     $NetBSD: freebsd_exec.c,v 1.19 2002/11/01 19:26:21 jdolecek Exp $       */
 
 /*
  * Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_exec.c,v 1.18 2002/09/21 21:14:56 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_exec.c,v 1.19 2002/11/01 19:26:21 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -57,7 +57,7 @@
        EMUL_HAS_SYS___syscall,
        NULL,
        FREEBSD_SYS_syscall,
-       FREEBSD_SYS_MAXSYSCALL,
+       FREEBSD_SYS_NSYSENT,
 #endif
        freebsd_sysent,
        freebsd_syscallnames,
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/hpux/hpux_exec.c
--- a/sys/compat/hpux/hpux_exec.c       Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/hpux/hpux_exec.c       Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpux_exec.c,v 1.32 2002/09/21 21:14:56 manu Exp $      */
+/*     $NetBSD: hpux_exec.c,v 1.33 2002/11/01 19:26:22 jdolecek Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpux_exec.c,v 1.32 2002/09/21 21:14:56 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpux_exec.c,v 1.33 2002/11/01 19:26:22 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -113,7 +113,7 @@
        0,
        native_to_hpux_errno,
        HPUX_SYS_syscall,
-       HPUX_SYS_MAXSYSCALL,
+       HPUX_SYS_NSYSENT,
        hpux_sysent,
        hpux_syscallnames,
        hpux_sendsig,
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/ibcs2/ibcs2_exec.c
--- a/sys/compat/ibcs2/ibcs2_exec.c     Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/ibcs2/ibcs2_exec.c     Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_exec.c,v 1.50 2002/09/21 21:14:56 manu Exp $     */
+/*     $NetBSD: ibcs2_exec.c,v 1.51 2002/11/01 19:26:22 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1994, 1995, 1998 Scott Bartram
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ibcs2_exec.c,v 1.50 2002/09/21 21:14:56 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibcs2_exec.c,v 1.51 2002/11/01 19:26:22 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -76,7 +76,7 @@
        0,
        native_to_ibcs2_errno,
        IBCS2_SYS_syscall,
-       IBCS2_SYS_MAXSYSCALL,
+       IBCS2_SYS_NSYSENT,
 #endif
        ibcs2_sysent,
        ibcs2_syscallnames,
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/irix/irix_exec.c
--- a/sys/compat/irix/irix_exec.c       Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/irix/irix_exec.c       Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: irix_exec.c,v 1.22 2002/10/14 21:14:23 manu Exp $ */
+/*     $NetBSD: irix_exec.c,v 1.23 2002/11/01 19:26:25 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 2001-2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: irix_exec.c,v 1.22 2002/10/14 21:14:23 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: irix_exec.c,v 1.23 2002/11/01 19:26:25 jdolecek Exp $");
 
 #ifndef ELFSIZE
 #define ELFSIZE                32      /* XXX should die */
@@ -90,7 +90,7 @@
        0,
        native_to_irix_errno,
        IRIX_SYS_syscall,
-       IRIX_SYS_MAXSYSCALL,
+       IRIX_SYS_NSYSENT,
 #endif
        irix_sysent,
 #ifdef SYSCALL_DEBUG
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/linux/common/linux_exec.c
--- a/sys/compat/linux/common/linux_exec.c      Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/linux/common/linux_exec.c      Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_exec.c,v 1.59 2002/09/21 21:15:03 manu Exp $     */
+/*     $NetBSD: linux_exec.c,v 1.60 2002/11/01 19:26:22 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 1994, 1995, 1998, 2000 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.59 2002/09/21 21:15:03 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.60 2002/11/01 19:26:22 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -119,7 +119,7 @@
        0,
        (int*)native_to_linux_errno,
        LINUX_SYS_syscall,
-       LINUX_SYS_MAXSYSCALL,
+       LINUX_SYS_NSYSENT,
 #endif
        linux_sysent,
        linux_syscallnames,
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/mach/mach_exec.c
--- a/sys/compat/mach/mach_exec.c       Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/mach/mach_exec.c       Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mach_exec.c,v 1.7 2002/09/21 21:14:58 manu Exp $        */
+/*     $NetBSD: mach_exec.c,v 1.8 2002/11/01 19:26:24 jdolecek Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mach_exec.c,v 1.7 2002/09/21 21:14:58 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mach_exec.c,v 1.8 2002/11/01 19:26:24 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -68,7 +68,7 @@
        0,
        0,
        SYS_syscall,
-       SYS_MAXSYSCALL,
+       SYS_NSYSENT,
 #endif
        sysent,
 #ifdef SYSCALL_DEBUG
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/netbsd32/netbsd32_netbsd.c
--- a/sys/compat/netbsd32/netbsd32_netbsd.c     Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/netbsd32/netbsd32_netbsd.c     Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_netbsd.c,v 1.66 2002/10/23 13:16:44 scw Exp $ */
+/*     $NetBSD: netbsd32_netbsd.c,v 1.67 2002/11/01 19:26:22 jdolecek Exp $    */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.66 2002/10/23 13:16:44 scw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.67 2002/11/01 19:26:22 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ddb.h"
@@ -111,7 +111,7 @@
        0,
        NULL,
        netbsd32_SYS_syscall,
-       netbsd32_SYS_MAXSYSCALL,
+       netbsd32_SYS_NSYSENT,
 #endif
        netbsd32_sysent,
 #ifdef SYSCALL_DEBUG
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/osf1/osf1_exec.c
--- a/sys/compat/osf1/osf1_exec.c       Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/osf1/osf1_exec.c       Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_exec.c,v 1.30 2002/09/21 21:14:59 manu Exp $ */
+/* $NetBSD: osf1_exec.c,v 1.31 2002/11/01 19:26:23 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osf1_exec.c,v 1.30 2002/09/21 21:14:59 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_exec.c,v 1.31 2002/11/01 19:26:23 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -59,7 +59,7 @@
        0,
        (int *)native_to_osf1_errno,
        OSF1_SYS_syscall,
-       OSF1_SYS_MAXSYSCALL,
+       OSF1_SYS_NSYSENT,
 #endif
        osf1_sysent,
        osf1_syscallnames,
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/pecoff/pecoff_emul.c
--- a/sys/compat/pecoff/pecoff_emul.c   Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/pecoff/pecoff_emul.c   Fri Nov 01 19:26:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pecoff_emul.c,v 1.2 2002/09/21 21:14:59 manu Exp $     */
+/*     $NetBSD: pecoff_emul.c,v 1.3 2002/11/01 19:26:24 jdolecek Exp $ */
 
 /*
  * Copyright (c) 2000 Masaru OKI
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pecoff_emul.c,v 1.2 2002/09/21 21:14:59 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pecoff_emul.c,v 1.3 2002/11/01 19:26:24 jdolecek Exp $");
 
 /*#define DEBUG_PECOFF*/
 
@@ -78,7 +78,7 @@
        EMUL_HAS_SYS___syscall,
        0,
        PECOFF_SYS_syscall,
-       PECOFF_SYS_MAXSYSCALL,
+       PECOFF_SYS_NSYSENT,
 #endif
        pecoff_sysent,
 #ifdef SYSCALL_DEBUG
diff -r 2cdec68dc59b -r 8f08581a3e41 sys/compat/sunos/sunos_exec.c
--- a/sys/compat/sunos/sunos_exec.c     Fri Nov 01 16:07:37 2002 +0000
+++ b/sys/compat/sunos/sunos_exec.c     Fri Nov 01 19:26:21 2002 +0000



Home | Main Index | Thread Index | Old Index