Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys remove struct emul's e_fault.
details: https://anonhg.NetBSD.org/src/rev/692d89cbd665
branches: trunk
changeset: 358611:692d89cbd665
user: maya <maya%NetBSD.org@localhost>
date: Tue Jan 09 20:55:42 2018 +0000
description:
remove struct emul's e_fault.
It used to be used by COMPAT_IRIX for the purpose of overriding
uvm_fault (only implemented in MIPS), now removed.
Ride 8.99.12 version bump.
diffstat:
sys/compat/aoutm68k/aoutm68k_exec.c | 5 ++---
sys/compat/freebsd/freebsd_exec.c | 5 ++---
sys/compat/ibcs2/ibcs2_exec.c | 5 ++---
sys/compat/linux/common/linux_exec.c | 5 ++---
sys/compat/linux32/common/linux32_exec.c | 5 ++---
sys/compat/netbsd32/netbsd32_netbsd.c | 5 ++---
sys/compat/osf1/osf1_exec.c | 5 ++---
sys/compat/sunos/sunos_exec.c | 5 ++---
sys/compat/sunos32/sunos32_exec.c | 5 ++---
sys/compat/svr4/svr4_exec.c | 5 ++---
sys/compat/svr4_32/svr4_32_exec.c | 5 ++---
sys/compat/ultrix/ultrix_misc.c | 5 ++---
sys/kern/kern_exec.c | 5 ++---
sys/sys/proc.h | 3 +--
14 files changed, 27 insertions(+), 41 deletions(-)
diffs (truncated from 355 to 300 lines):
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/aoutm68k/aoutm68k_exec.c
--- a/sys/compat/aoutm68k/aoutm68k_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_exec.c,v 1.27 2012/02/19 21:06:36 rmind Exp $ */
+/* $NetBSD: aoutm68k_exec.c,v 1.28 2018/01/09 20:55:42 maya Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_exec.c,v 1.27 2012/02/19 21:06:36 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_exec.c,v 1.28 2018/01/09 20:55:42 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@@ -81,7 +81,6 @@
.e_lwp_exit = NULL,
.e_syscall_intern = aoutm68k_syscall_intern,
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = uvm_default_mapaddr,
.e_usertrap = NULL,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/freebsd/freebsd_exec.c
--- a/sys/compat/freebsd/freebsd_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/freebsd/freebsd_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: freebsd_exec.c,v 1.39 2017/08/08 08:04:06 maxv Exp $ */
+/* $NetBSD: freebsd_exec.c,v 1.40 2018/01/09 20:55:42 maya 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.39 2017/08/08 08:04:06 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_exec.c,v 1.40 2018/01/09 20:55:42 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@@ -95,7 +95,6 @@
.e_syscall_intern = syscall,
#endif
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = uvm_default_mapaddr,
.e_usertrap = NULL,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/ibcs2/ibcs2_exec.c
--- a/sys/compat/ibcs2/ibcs2_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/ibcs2/ibcs2_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_exec.c,v 1.76 2012/02/19 21:06:37 rmind Exp $ */
+/* $NetBSD: ibcs2_exec.c,v 1.77 2018/01/09 20:55:42 maya 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.76 2012/02/19 21:06:37 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibcs2_exec.c,v 1.77 2018/01/09 20:55:42 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@@ -109,7 +109,6 @@
.e_syscall_intern = syscall,
#endif
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = uvm_default_mapaddr,
.e_usertrap = NULL,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/linux/common/linux_exec.c
--- a/sys/compat/linux/common/linux_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/linux/common/linux_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec.c,v 1.117 2014/11/09 17:48:08 maxv Exp $ */
+/* $NetBSD: linux_exec.c,v 1.118 2018/01/09 20:55:42 maya Exp $ */
/*-
* Copyright (c) 1994, 1995, 1998, 2000, 2007, 2008 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.117 2014/11/09 17:48:08 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.118 2018/01/09 20:55:42 maya Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -108,7 +108,6 @@
#error Implement __HAVE_SYSCALL_INTERN for this platform
#endif
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = uvm_default_mapaddr,
.e_usertrap = linux_usertrap,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/linux32/common/linux32_exec.c
--- a/sys/compat/linux32/common/linux32_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/linux32/common/linux32_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_exec.c,v 1.21 2012/02/19 21:06:38 rmind Exp $ */
+/* $NetBSD: linux32_exec.c,v 1.22 2018/01/09 20:55:42 maya Exp $ */
/*-
* Copyright (c) 1994-2007 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_exec.c,v 1.21 2012/02/19 21:06:38 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_exec.c,v 1.22 2018/01/09 20:55:42 maya Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -89,7 +89,6 @@
.e_lwp_exit = linux_e_lwp_exit,
.e_syscall_intern = linux32_syscall_intern,
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = netbsd32_vm_default_addr,
.e_usertrap = NULL,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/netbsd32/netbsd32_netbsd.c
--- a/sys/compat/netbsd32/netbsd32_netbsd.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_netbsd.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_netbsd.c,v 1.213 2018/01/06 16:41:23 kamil Exp $ */
+/* $NetBSD: netbsd32_netbsd.c,v 1.214 2018/01/09 20:55:43 maya Exp $ */
/*
* Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.213 2018/01/06 16:41:23 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.214 2018/01/09 20:55:43 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ddb.h"
@@ -154,7 +154,6 @@
.e_syscall = syscall,
#endif
.e_sysctlovly = &netbsd32_sysctl_root,
- .e_fault = NULL,
.e_vm_default_addr = netbsd32_vm_default_addr,
.e_usertrap = NULL,
.e_ucsize = sizeof(ucontext32_t),
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/osf1/osf1_exec.c
--- a/sys/compat/osf1/osf1_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/osf1/osf1_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_exec.c,v 1.44 2012/02/19 21:06:43 rmind Exp $ */
+/* $NetBSD: osf1_exec.c,v 1.45 2018/01/09 20:55:43 maya 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.44 2012/02/19 21:06:43 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_exec.c,v 1.45 2018/01/09 20:55:43 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@@ -93,7 +93,6 @@
.e_syscall_intern = syscall,
#endif
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = uvm_default_mapaddr,
.e_usertrap = NULL,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/sunos/sunos_exec.c
--- a/sys/compat/sunos/sunos_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/sunos/sunos_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos_exec.c,v 1.54 2012/02/19 21:06:44 rmind Exp $ */
+/* $NetBSD: sunos_exec.c,v 1.55 2018/01/09 20:55:43 maya Exp $ */
/*
* Copyright (c) 1993 Theo de Raadt
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos_exec.c,v 1.54 2012/02/19 21:06:44 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_exec.c,v 1.55 2018/01/09 20:55:43 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@@ -95,7 +95,6 @@
.e_syscall_intern = syscall,
#endif
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = uvm_default_mapaddr,
.e_usertrap = NULL,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/sunos32/sunos32_exec.c
--- a/sys/compat/sunos32/sunos32_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/sunos32/sunos32_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos32_exec.c,v 1.33 2012/02/19 21:06:44 rmind Exp $ */
+/* $NetBSD: sunos32_exec.c,v 1.34 2018/01/09 20:55:43 maya Exp $ */
/*
* Copyright (c) 2001 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.33 2012/02/19 21:06:44 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.34 2018/01/09 20:55:43 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@@ -94,7 +94,6 @@
.e_syscall_intern = syscall,
#endif
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = uvm_default_mapaddr,
.e_usertrap = NULL,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/svr4/svr4_exec.c
--- a/sys/compat/svr4/svr4_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/svr4/svr4_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_exec.c,v 1.66 2012/02/19 21:06:45 rmind Exp $ */
+/* $NetBSD: svr4_exec.c,v 1.67 2018/01/09 20:55:43 maya Exp $ */
/*-
* Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_exec.c,v 1.66 2012/02/19 21:06:45 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_exec.c,v 1.67 2018/01/09 20:55:43 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@@ -93,7 +93,6 @@
.e_syscall_intern = syscall,
#endif
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = uvm_default_mapaddr,
.e_usertrap = NULL,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/svr4_32/svr4_32_exec.c
--- a/sys/compat/svr4_32/svr4_32_exec.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/svr4_32/svr4_32_exec.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_32_exec.c,v 1.27 2012/02/19 21:06:45 rmind Exp $ */
+/* $NetBSD: svr4_32_exec.c,v 1.28 2018/01/09 20:55:43 maya Exp $ */
/*-
* Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_32_exec.c,v 1.27 2012/02/19 21:06:45 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_32_exec.c,v 1.28 2018/01/09 20:55:43 maya Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@@ -96,7 +96,6 @@
.e_syscall_intern = syscall,
#endif
.e_sysctlovly = NULL,
- .e_fault = NULL,
.e_vm_default_addr = svr4_32_vm_default_addr,
.e_usertrap = NULL,
.e_ucsize = 0,
diff -r 284b7c049f1b -r 692d89cbd665 sys/compat/ultrix/ultrix_misc.c
--- a/sys/compat/ultrix/ultrix_misc.c Tue Jan 09 19:52:29 2018 +0000
+++ b/sys/compat/ultrix/ultrix_misc.c Tue Jan 09 20:55:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ultrix_misc.c,v 1.122 2012/02/19 21:06:45 rmind Exp $ */
+/* $NetBSD: ultrix_misc.c,v 1.123 2018/01/09 20:55:43 maya Exp $ */
/*
* Copyright (c) 1995, 1997 Jonathan Stone (hereinafter referred to as the author)
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ultrix_misc.c,v 1.122 2012/02/19 21:06:45 rmind Exp $");
Home |
Main Index |
Thread Index |
Old Index