Source-Changes-HG archive

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

[src/trunk]: src/sys Don't pass the (unused) return value args to the



details:   https://anonhg.NetBSD.org/src/rev/1a2f804c5bb3
branches:  trunk
changeset: 554649:1a2f804c5bb3
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Oct 31 03:28:12 2003 +0000

description:
Don't pass the (unused) return value args to the
trace_enter()/systrace_enter() functions.

diffstat:

 sys/arch/alpha/alpha/linux_syscall.c    |  6 +++---
 sys/arch/alpha/alpha/osf1_syscall.c     |  6 +++---
 sys/arch/alpha/alpha/syscall.c          |  6 +++---
 sys/arch/amd64/amd64/netbsd32_syscall.c |  6 +++---
 sys/arch/amd64/amd64/syscall.c          |  6 +++---
 sys/arch/arm/arm/linux_syscall.c        |  6 +++---
 sys/arch/arm/arm/syscall.c              |  6 +++---
 sys/arch/hppa/hppa/trap.c               |  6 +++---
 sys/arch/i386/i386/freebsd_syscall.c    |  6 +++---
 sys/arch/i386/i386/ibcs2_syscall.c      |  6 +++---
 sys/arch/i386/i386/linux_syscall.c      |  6 +++---
 sys/arch/i386/i386/mach_syscall.c       |  7 +++----
 sys/arch/i386/i386/svr4_syscall.c       |  6 +++---
 sys/arch/i386/i386/syscall.c            |  6 +++---
 sys/arch/m68k/m68k/linux_syscall.c      |  6 +++---
 sys/arch/m68k/m68k/m68k_syscall.c       |  6 +++---
 sys/arch/m68k/m68k/sunos_syscall.c      |  6 +++---
 sys/arch/mips/mips/syscall.c            |  6 +++---
 sys/arch/pc532/pc532/trap.c             |  6 +++---
 sys/arch/powerpc/powerpc/syscall.c      |  7 +++----
 sys/arch/sh3/sh3/exception.c            |  6 +++---
 sys/arch/sh5/sh5/syscall.c              |  6 +++---
 sys/arch/sparc/sparc/trap.c             |  6 +++---
 sys/arch/vax/vax/trap.c                 |  6 +++---
 sys/kern/kern_subr.c                    |  9 ++++-----
 sys/kern/kern_systrace.c                |  6 +++---
 sys/sys/systm.h                         |  4 ++--
 sys/sys/systrace.h                      |  4 ++--
 28 files changed, 83 insertions(+), 86 deletions(-)

diffs (truncated from 750 to 300 lines):

diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/alpha/alpha/linux_syscall.c
--- a/sys/arch/alpha/alpha/linux_syscall.c      Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/alpha/alpha/linux_syscall.c      Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.c,v 1.12 2003/10/29 04:58:26 mycroft Exp $ */
+/* $NetBSD: linux_syscall.c,v 1.13 2003/10/31 03:28:12 simonb Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -102,7 +102,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.12 2003/10/29 04:58:26 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.13 2003/10/31 03:28:12 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -322,7 +322,7 @@
        args += hidden;
 
 
-       if ((error = trace_enter(l, code, code, NULL, args, rval)) != 0)
+       if ((error = trace_enter(l, code, code, NULL, args)) != 0)
                goto bad;
 
        rval[0] = 0;
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/alpha/alpha/osf1_syscall.c
--- a/sys/arch/alpha/alpha/osf1_syscall.c       Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/alpha/alpha/osf1_syscall.c       Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_syscall.c,v 1.14 2003/10/29 04:58:26 mycroft Exp $ */
+/* $NetBSD: osf1_syscall.c,v 1.15 2003/10/31 03:28:12 simonb Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -102,7 +102,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.14 2003/10/29 04:58:26 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.15 2003/10/31 03:28:12 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -317,7 +317,7 @@
        }
        args += hidden;
 
-       if ((error = trace_enter(l, code, code, NULL, args, rval)) != 0)
+       if ((error = trace_enter(l, code, code, NULL, args)) != 0)
                goto bad;
 
        rval[0] = 0;
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/alpha/alpha/syscall.c
--- a/sys/arch/alpha/alpha/syscall.c    Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/alpha/alpha/syscall.c    Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscall.c,v 1.12 2003/10/29 04:58:26 mycroft Exp $ */
+/* $NetBSD: syscall.c,v 1.13 2003/10/31 03:28:12 simonb Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.12 2003/10/29 04:58:26 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.13 2003/10/31 03:28:12 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -323,7 +323,7 @@
        }
        args += hidden;
 
-       if ((error = trace_enter(l, code, code, NULL, args, rval)) != 0)
+       if ((error = trace_enter(l, code, code, NULL, args)) != 0)
                goto bad;
 
        rval[0] = 0;
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/amd64/amd64/netbsd32_syscall.c
--- a/sys/arch/amd64/amd64/netbsd32_syscall.c   Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/amd64/amd64/netbsd32_syscall.c   Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_syscall.c,v 1.3 2003/08/20 21:48:48 fvdl Exp $        */
+/*     $NetBSD: netbsd32_syscall.c,v 1.4 2003/10/31 03:28:12 simonb Exp $      */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscall.c,v 1.3 2003/08/20 21:48:48 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscall.c,v 1.4 2003/10/31 03:28:12 simonb Exp $");
 
 #include "opt_syscall_debug.h"
 #include "opt_ktrace.h"
@@ -246,7 +246,7 @@
                for (i = 0; i < (argsize >> 2); i++)
                        args64[i] = args[i];
                /* XXX we need to pass argsize << 1 here? */
-               if ((error = trace_enter(l, code, code, NULL, args64, rval)) != 0)
+               if ((error = trace_enter(l, code, code, NULL, args64)) != 0)
                        goto bad;
        }
 #endif
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/amd64/amd64/syscall.c
--- a/sys/arch/amd64/amd64/syscall.c    Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/amd64/amd64/syscall.c    Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.4 2003/10/14 18:54:34 fvdl Exp $ */
+/*     $NetBSD: syscall.c,v 1.5 2003/10/31 03:28:12 simonb Exp $       */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.4 2003/10/14 18:54:34 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.5 2003/10/31 03:28:12 simonb Exp $");
 
 #include "opt_syscall_debug.h"
 #include "opt_ktrace.h"
@@ -266,7 +266,7 @@
        }
 
        KERNEL_PROC_LOCK(l);
-       if ((error = trace_enter(l, code, code, NULL, argp, rval)) != 0) {
+       if ((error = trace_enter(l, code, code, NULL, argp)) != 0) {
                KERNEL_PROC_UNLOCK(l);
                goto bad;
        }
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/arm/arm/linux_syscall.c
--- a/sys/arch/arm/arm/linux_syscall.c  Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/arm/arm/linux_syscall.c  Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscall.c,v 1.9 2003/03/01 04:36:38 thorpej Exp $        */
+/*     $NetBSD: linux_syscall.c,v 1.10 2003/10/31 03:28:12 simonb Exp $        */
 
 /*-
  * Copyright (c) 2000, 2003 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.9 2003/03/01 04:36:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.10 2003/10/31 03:28:12 simonb Exp $");
 
 #include <sys/device.h>
 #include <sys/errno.h>
@@ -199,7 +199,7 @@
        callp = p->p_emul->e_sysent + code;
        nargs = callp->sy_argsize / sizeof(register_t);
 
-       if ((error = trace_enter(l, code, code, NULL, args, rval)) != 0)
+       if ((error = trace_enter(l, code, code, NULL, args)) != 0)
                goto bad;
 
        rval[0] = 0;
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/arm/arm/syscall.c
--- a/sys/arch/arm/arm/syscall.c        Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/arm/arm/syscall.c        Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.22 2003/10/29 04:38:50 mycroft Exp $     */
+/*     $NetBSD: syscall.c,v 1.23 2003/10/31 03:28:12 simonb Exp $      */
 
 /*-
  * Copyright (c) 2000, 2003 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.22 2003/10/29 04:38:50 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.23 2003/10/31 03:28:12 simonb Exp $");
 
 #include <sys/device.h>
 #include <sys/errno.h>
@@ -412,7 +412,7 @@
                        goto bad;
        }
 
-       if ((error = trace_enter(l, code, code, NULL, args, rval)) != 0)
+       if ((error = trace_enter(l, code, code, NULL, args)) != 0)
                goto bad;
 
        rval[0] = 0;
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/hppa/hppa/trap.c Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.11 2003/10/21 00:49:34 fvdl Exp $   */
+/*     $NetBSD: trap.c,v 1.12 2003/10/31 03:28:13 simonb Exp $ */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.11 2003/10/21 00:49:34 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.12 2003/10/31 03:28:13 simonb Exp $");
 
 /* #define INTRDEBUG */
 /* #define TRAPDEBUG */
@@ -1086,7 +1086,7 @@
                callp += code;
        argsize = callp->sy_argsize;
 
-       if ((error = trace_enter(l, code, code, NULL, args, rval)) != 0)
+       if ((error = trace_enter(l, code, code, NULL, args)) != 0)
                goto bad;
 
        rval[0] = 0;
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/i386/i386/freebsd_syscall.c
--- a/sys/arch/i386/i386/freebsd_syscall.c      Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/i386/i386/freebsd_syscall.c      Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_syscall.c,v 1.14 2003/10/27 14:11:46 junyoung Exp $    */
+/*     $NetBSD: freebsd_syscall.c,v 1.15 2003/10/31 03:28:13 simonb Exp $      */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_syscall.c,v 1.14 2003/10/27 14:11:46 junyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_syscall.c,v 1.15 2003/10/31 03:28:13 simonb Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_syscall_debug.h"
@@ -236,7 +236,7 @@
        }
 
        KERNEL_PROC_LOCK(l);
-       if ((error = trace_enter(l, code, code, NULL, args, rval)) != 0)
+       if ((error = trace_enter(l, code, code, NULL, args)) != 0)
                goto bad;
 
        rval[0] = 0;
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/i386/i386/ibcs2_syscall.c
--- a/sys/arch/i386/i386/ibcs2_syscall.c        Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/i386/i386/ibcs2_syscall.c        Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_syscall.c,v 1.24 2003/10/30 02:07:37 simonb Exp $        */
+/*     $NetBSD: ibcs2_syscall.c,v 1.25 2003/10/31 03:28:13 simonb Exp $        */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ibcs2_syscall.c,v 1.24 2003/10/30 02:07:37 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibcs2_syscall.c,v 1.25 2003/10/31 03:28:13 simonb Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_syscall_debug.h"
@@ -229,7 +229,7 @@
        }
 
        KERNEL_PROC_LOCK(l);
-       if ((error = trace_enter(l, code, code, NULL, args, rval)) != 0)
+       if ((error = trace_enter(l, code, code, NULL, args)) != 0)
                goto bad;
 
        rval[0] = 0;
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/i386/i386/linux_syscall.c
--- a/sys/arch/i386/i386/linux_syscall.c        Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/i386/i386/linux_syscall.c        Fri Oct 31 03:28:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_syscall.c,v 1.27 2003/10/30 02:07:37 simonb Exp $        */
+/*     $NetBSD: linux_syscall.c,v 1.28 2003/10/31 03:28:13 simonb Exp $        */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.27 2003/10/30 02:07:37 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.28 2003/10/31 03:28:13 simonb Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_syscall_debug.h"
@@ -234,7 +234,7 @@
        }
        KERNEL_PROC_LOCK(l);
 
-       if ((error = trace_enter(l, code, code, NULL, args, rval)) != 0)
+       if ((error = trace_enter(l, code, code, NULL, args)) != 0)
                goto bad;
 
        rval[0] = 0;
diff -r f8d5b52b1dfb -r 1a2f804c5bb3 sys/arch/i386/i386/mach_syscall.c
--- a/sys/arch/i386/i386/mach_syscall.c Fri Oct 31 02:59:29 2003 +0000
+++ b/sys/arch/i386/i386/mach_syscall.c Fri Oct 31 03:28:12 2003 +0000



Home | Main Index | Thread Index | Old Index