Source-Changes-HG archive

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

[src/trunk]: src/sys/compat only include emulation syscallnames with SYSCALL_...



details:   https://anonhg.NetBSD.org/src/rev/7fe1ad7054e9
branches:  trunk
changeset: 569889:7fe1ad7054e9
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Sep 12 10:38:25 2004 +0000

description:
only include emulation syscallnames with SYSCALL_DEBUG, it's not used otherwise

diffstat:

 sys/compat/freebsd/freebsd_exec.c |  12 ++++++++++--
 sys/compat/hpux/hpux_exec.c       |  12 ++++++++++--
 sys/compat/ibcs2/ibcs2_exec.c     |  12 ++++++++++--
 sys/compat/osf1/osf1_exec.c       |  12 ++++++++++--
 sys/compat/svr4/svr4_exec.c       |  12 ++++++++++--
 sys/compat/svr4_32/svr4_32_exec.c |  12 ++++++++++--
 6 files changed, 60 insertions(+), 12 deletions(-)

diffs (204 lines):

diff -r 366d58aa847d -r 7fe1ad7054e9 sys/compat/freebsd/freebsd_exec.c
--- a/sys/compat/freebsd/freebsd_exec.c Sun Sep 12 09:25:59 2004 +0000
+++ b/sys/compat/freebsd/freebsd_exec.c Sun Sep 12 10:38:25 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_exec.c,v 1.25 2003/12/20 19:01:30 fvdl Exp $   */
+/*     $NetBSD: freebsd_exec.c,v 1.26 2004/09/12 10:38:25 jdolecek Exp $       */
 
 /*
  * Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -31,7 +31,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_exec.c,v 1.25 2003/12/20 19:01:30 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_exec.c,v 1.26 2004/09/12 10:38:25 jdolecek Exp $");
+
+#if defined(_KERNEL_OPT)
+#include "opt_syscall_debug.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -63,7 +67,11 @@
        FREEBSD_SYS_NSYSENT,
 #endif
        freebsd_sysent,
+#ifdef SYSCALL_DEBUG
        freebsd_syscallnames,
+#else
+       NULL,
+#endif
        freebsd_sendsig,
        trapsignal,
        NULL,
diff -r 366d58aa847d -r 7fe1ad7054e9 sys/compat/hpux/hpux_exec.c
--- a/sys/compat/hpux/hpux_exec.c       Sun Sep 12 09:25:59 2004 +0000
+++ b/sys/compat/hpux/hpux_exec.c       Sun Sep 12 10:38:25 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpux_exec.c,v 1.43 2004/08/21 22:27:04 cgd Exp $       */
+/*     $NetBSD: hpux_exec.c,v 1.44 2004/09/12 10:38:25 jdolecek Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -71,7 +71,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpux_exec.c,v 1.43 2004/08/21 22:27:04 cgd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpux_exec.c,v 1.44 2004/09/12 10:38:25 jdolecek Exp $");
+
+#if defined(_KERNEL_OPT)
+#include "opt_syscall_debug.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -121,7 +125,11 @@
        HPUX_SYS_NSYSENT,
 #endif
        hpux_sysent,
+#ifdef SYSCALL_DEBUG
        hpux_syscallnames,
+#else
+       NULL,
+#endif
        hpux_sendsig,
        trapsignal,
        NULL,
diff -r 366d58aa847d -r 7fe1ad7054e9 sys/compat/ibcs2/ibcs2_exec.c
--- a/sys/compat/ibcs2/ibcs2_exec.c     Sun Sep 12 09:25:59 2004 +0000
+++ b/sys/compat/ibcs2/ibcs2_exec.c     Sun Sep 12 10:38:25 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_exec.c,v 1.59 2004/02/06 08:02:58 junyoung Exp $ */
+/*     $NetBSD: ibcs2_exec.c,v 1.60 2004/09/12 10:38:25 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1994, 1995, 1998 Scott Bartram
@@ -35,7 +35,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ibcs2_exec.c,v 1.59 2004/02/06 08:02:58 junyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibcs2_exec.c,v 1.60 2004/09/12 10:38:25 jdolecek Exp $");
+
+#if defined(_KERNEL_OPT)
+#include "opt_syscall_debug.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -80,7 +84,11 @@
        IBCS2_SYS_NSYSENT,
 #endif
        ibcs2_sysent,
+#ifdef SYSCALL_DEBUG
        ibcs2_syscallnames,
+#else
+       NULL,
+#endif
        ibcs2_sendsig,
        trapsignal,
        NULL,
diff -r 366d58aa847d -r 7fe1ad7054e9 sys/compat/osf1/osf1_exec.c
--- a/sys/compat/osf1/osf1_exec.c       Sun Sep 12 09:25:59 2004 +0000
+++ b/sys/compat/osf1/osf1_exec.c       Sun Sep 12 10:38:25 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_exec.c,v 1.36 2003/12/20 19:01:30 fvdl Exp $ */
+/* $NetBSD: osf1_exec.c,v 1.37 2004/09/12 10:38:25 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -31,7 +31,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osf1_exec.c,v 1.36 2003/12/20 19:01:30 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_exec.c,v 1.37 2004/09/12 10:38:25 jdolecek Exp $");
+
+#if defined(_KERNEL_OPT)
+#include "opt_syscall_debug.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -64,7 +68,11 @@
        OSF1_SYS_NSYSENT,
 #endif
        osf1_sysent,
+#ifdef SYSCALL_DEBUG
        osf1_syscallnames,
+#else
+       NULL,
+#endif
        sendsig,
        trapsignal,
        NULL,
diff -r 366d58aa847d -r 7fe1ad7054e9 sys/compat/svr4/svr4_exec.c
--- a/sys/compat/svr4/svr4_exec.c       Sun Sep 12 09:25:59 2004 +0000
+++ b/sys/compat/svr4/svr4_exec.c       Sun Sep 12 10:38:25 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_exec.c,v 1.54 2003/12/20 19:01:30 fvdl Exp $       */
+/*     $NetBSD: svr4_exec.c,v 1.55 2004/09/12 10:38:25 jdolecek Exp $   */
 
 /*-
  * Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_exec.c,v 1.54 2003/12/20 19:01:30 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_exec.c,v 1.55 2004/09/12 10:38:25 jdolecek Exp $");
+
+#if defined(_KERNEL_OPT)
+#include "opt_syscall_debug.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -70,7 +74,11 @@
        SVR4_SYS_NSYSENT,
 #endif
        svr4_sysent,
+#ifdef SYSCALL_DEBUG
        svr4_syscallnames,
+#else
+       NULL,
+#endif
        svr4_sendsig,
        trapsignal,
        NULL,
diff -r 366d58aa847d -r 7fe1ad7054e9 sys/compat/svr4_32/svr4_32_exec.c
--- a/sys/compat/svr4_32/svr4_32_exec.c Sun Sep 12 09:25:59 2004 +0000
+++ b/sys/compat/svr4_32/svr4_32_exec.c Sun Sep 12 10:38:25 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_32_exec.c,v 1.14 2003/12/20 19:01:30 fvdl Exp $    */
+/*     $NetBSD: svr4_32_exec.c,v 1.15 2004/09/12 10:38:26 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_32_exec.c,v 1.14 2003/12/20 19:01:30 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_32_exec.c,v 1.15 2004/09/12 10:38:26 jdolecek Exp $");
+
+#if defined(_KERNEL_OPT)
+#include "opt_syscall_debug.h"
+#endif
 
 #define        ELFSIZE         32                              /* XXX should die */
 
@@ -72,7 +76,11 @@
        SVR4_32_SYS_NSYSENT,
 #endif
        svr4_32_sysent,
+#ifdef SYSCALL_DEBUG
        svr4_32_syscallnames,
+#else
+       NULL,
+#endif
        svr4_32_sendsig,
        trapsignal,
        NULL,



Home | Main Index | Thread Index | Old Index