Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys exec modules need to be of the exec kind
details: https://anonhg.NetBSD.org/src/rev/43ec5ec751de
branches: trunk
changeset: 790115:43ec5ec751de
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 19 18:50:35 2013 +0000
description:
exec modules need to be of the exec kind
diffstat:
sys/compat/aoutm68k/aoutm68k_mod.c | 6 +++---
sys/compat/common/compat_mod.c | 6 +++---
sys/compat/freebsd/freebsd_mod.c | 6 +++---
sys/compat/ibcs2/ibcs2_mod.c | 6 +++---
sys/compat/linux/common/linux_mod.c | 6 +++---
sys/compat/linux32/common/linux32_mod.c | 6 +++---
sys/compat/m68k4k/m68k4k_exec.c | 6 +++---
sys/compat/ndis/kern_ndis.c | 6 +++---
sys/compat/netbsd32/netbsd32_mod.c | 6 +++---
sys/compat/osf1/osf1_mod.c | 6 +++---
sys/compat/ossaudio/ossaudio.c | 6 +++---
sys/compat/sunos/sunos_mod.c | 6 +++---
sys/compat/sunos32/sunos32_mod.c | 6 +++---
sys/compat/svr4/svr4_mod.c | 6 +++---
sys/compat/svr4_32/svr4_32_mod.c | 6 +++---
sys/compat/ultrix/ultrix_mod.c | 6 +++---
sys/compat/vax1k/vax1k_exec.c | 8 ++++----
sys/kern/exec_aout.c | 6 +++---
sys/kern/exec_ecoff.c | 6 +++---
sys/kern/exec_elf32.c | 6 +++---
sys/kern/exec_elf64.c | 6 +++---
sys/kern/exec_script.c | 6 +++---
22 files changed, 67 insertions(+), 67 deletions(-)
diffs (truncated from 597 to 300 lines):
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/aoutm68k/aoutm68k_mod.c
--- a/sys/compat/aoutm68k/aoutm68k_mod.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_mod.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_mod.c,v 1.1 2008/11/19 18:36:02 ad Exp $ */
+/* $NetBSD: aoutm68k_mod.c,v 1.2 2013/09/19 18:50:35 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_mod.c,v 1.1 2008/11/19 18:36:02 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_mod.c,v 1.2 2013/09/19 18:50:35 christos Exp $");
#include <sys/param.h>
#include <sys/module.h>
@@ -40,7 +40,7 @@
extern struct emul emul_netbsd_aoutm68k;
-MODULE(MODULE_CLASS_MISC, compat_aoutm68k, "exec_aout");
+MODULE(MODULE_CLASS_EXEC, compat_aoutm68k, "exec_aout");
static struct execsw aoutm68k_execsw[] = {
{ sizeof(struct exec),
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/common/compat_mod.c
--- a/sys/compat/common/compat_mod.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/common/compat_mod.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_mod.c,v 1.19 2013/03/29 01:02:49 christos Exp $ */
+/* $NetBSD: compat_mod.c,v 1.20 2013/09/19 18:50:35 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.19 2013/03/29 01:02:49 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.20 2013/09/19 18:50:35 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -64,7 +64,7 @@
static struct sysctllog *compat_clog = NULL;
#endif
-MODULE(MODULE_CLASS_MISC, compat, NULL);
+MODULE(MODULE_CLASS_EXEC, compat, NULL);
int ttcompat(struct tty *, u_long, void *, int, struct lwp *);
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/freebsd/freebsd_mod.c
--- a/sys/compat/freebsd/freebsd_mod.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/freebsd/freebsd_mod.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: freebsd_mod.c,v 1.2 2009/08/16 15:41:51 martin Exp $ */
+/* $NetBSD: freebsd_mod.c,v 1.3 2013/09/19 18:50:35 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_mod.c,v 1.2 2009/08/16 15:41:51 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_mod.c,v 1.3 2013/09/19 18:50:35 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -60,7 +60,7 @@
#define ELF32_AUXSIZE (howmany(ELF_AUX_ENTRIES * sizeof(Aux32Info), \
sizeof(Elf32_Addr)) + MAXPATHLEN + ALIGN(1))
-MODULE(MODULE_CLASS_MISC, compat_freebsd, "compat,compat_ossaudio" MD1 MD2);
+MODULE(MODULE_CLASS_EXEC, compat_freebsd, "compat,compat_ossaudio" MD1 MD2);
static struct execsw freebsd_execsw[] = {
#ifdef EXEC_ELF32
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/ibcs2/ibcs2_mod.c
--- a/sys/compat/ibcs2/ibcs2_mod.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/ibcs2/ibcs2_mod.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_mod.c,v 1.1 2008/11/19 18:36:03 ad Exp $ */
+/* $NetBSD: ibcs2_mod.c,v 1.2 2013/09/19 18:50:35 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ibcs2_mod.c,v 1.1 2008/11/19 18:36:03 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibcs2_mod.c,v 1.2 2013/09/19 18:50:35 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -54,7 +54,7 @@
# define MD1 ""
#endif
-MODULE(MODULE_CLASS_MISC, compat_ibcs2, "compat" MD1);
+MODULE(MODULE_CLASS_EXEC, compat_ibcs2, "compat" MD1);
#define ELF32_AUXSIZE (howmany(ELF_AUX_ENTRIES * sizeof(Aux32Info), \
sizeof(Elf32_Addr)) + MAXPATHLEN + ALIGN(1))
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/linux/common/linux_mod.c
--- a/sys/compat/linux/common/linux_mod.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/linux/common/linux_mod.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_mod.c,v 1.2 2011/09/14 12:28:08 christos Exp $ */
+/* $NetBSD: linux_mod.c,v 1.3 2013/09/19 18:50:35 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_mod.c,v 1.2 2011/09/14 12:28:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_mod.c,v 1.3 2013/09/19 18:50:35 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -65,7 +65,7 @@
# define MD3 ""
#endif
-MODULE(MODULE_CLASS_MISC, compat_linux, "compat,compat_ossaudio" MD1 MD2 MD3);
+MODULE(MODULE_CLASS_EXEC, compat_linux, "compat,compat_ossaudio" MD1 MD2 MD3);
static struct execsw linux_execsw[] = {
#if defined(EXEC_ELF32) && ELFSIZE == 32
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/linux32/common/linux32_mod.c
--- a/sys/compat/linux32/common/linux32_mod.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/linux32/common/linux32_mod.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_mod.c,v 1.3 2010/07/07 01:30:35 chs Exp $ */
+/* $NetBSD: linux32_mod.c,v 1.4 2013/09/19 18:50:35 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_mod.c,v 1.3 2010/07/07 01:30:35 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_mod.c,v 1.4 2013/09/19 18:50:35 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -56,7 +56,7 @@
# define MD1 ""
#endif
-MODULE(MODULE_CLASS_MISC, compat_linux32, "compat_linux" MD1);
+MODULE(MODULE_CLASS_EXEC, compat_linux32, "compat_linux" MD1);
static struct execsw linux32_execsw[] = {
#if defined(EXEC_ELF32)
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/m68k4k/m68k4k_exec.c
--- a/sys/compat/m68k4k/m68k4k_exec.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/m68k4k/m68k4k_exec.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: m68k4k_exec.c,v 1.22 2009/08/17 06:00:05 cegger Exp $ */
+/* $NetBSD: m68k4k_exec.c,v 1.23 2013/09/19 18:50:35 christos Exp $ */
/*
* Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: m68k4k_exec.c,v 1.22 2009/08/17 06:00:05 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: m68k4k_exec.c,v 1.23 2013/09/19 18:50:35 christos Exp $");
#if !defined(__m68k__)
#error YOU GOTTA BE KIDDING!
@@ -65,7 +65,7 @@
#define DEP NULL
#endif
-MODULE(MODULE_CLASS_MISC, exec_m68k4k, DEP);
+MODULE(MODULE_CLASS_EXEC, exec_m68k4k, DEP);
static struct execsw exec_m68k4k_execsw[] = {
{ sizeof(struct exec),
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/ndis/kern_ndis.c
--- a/sys/compat/ndis/kern_ndis.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/ndis/kern_ndis.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_ndis.c,v 1.23 2012/09/23 01:14:40 chs Exp $ */
+/* $NetBSD: kern_ndis.c,v 1.24 2013/09/19 18:50:35 christos Exp $ */
/*-
* Copyright (c) 2003
@@ -37,7 +37,7 @@
__FBSDID("$FreeBSD: src/sys/compat/ndis/kern_ndis.c,v 1.60.2.5 2005/04/01 17:14:20 wpaul Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: kern_ndis.c,v 1.23 2012/09/23 01:14:40 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_ndis.c,v 1.24 2013/09/19 18:50:35 christos Exp $");
#endif
#include <sys/param.h>
@@ -92,7 +92,7 @@
#include <compat/ndis/usbd_var.h>
#include <dev/if_ndis/if_ndisvar.h>
-MODULE(MODULE_CLASS_MISC, ndis, NULL);
+MODULE(MODULE_CLASS_EXEC, ndis, NULL);
#define NDIS_DUMMY_PATH "\\\\some\\bogus\\path"
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/netbsd32/netbsd32_mod.c
--- a/sys/compat/netbsd32/netbsd32_mod.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/netbsd32/netbsd32_mod.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_mod.c,v 1.1 2008/11/19 18:36:05 ad Exp $ */
+/* $NetBSD: netbsd32_mod.c,v 1.2 2013/09/19 18:50:36 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.1 2008/11/19 18:36:05 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.2 2013/09/19 18:50:36 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -54,7 +54,7 @@
#define ELF32_AUXSIZE (howmany(ELF_AUX_ENTRIES * sizeof(Aux32Info), \
sizeof(Elf32_Addr)) + MAXPATHLEN + ALIGN(1))
-MODULE(MODULE_CLASS_MISC, compat_netbsd32, MODDEPS);
+MODULE(MODULE_CLASS_EXEC, compat_netbsd32, MODDEPS);
static struct execsw netbsd32_execsw[] = {
#ifdef EXEC_AOUT
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/osf1/osf1_mod.c
--- a/sys/compat/osf1/osf1_mod.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/osf1/osf1_mod.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_mod.c,v 1.2 2008/11/19 22:02:21 cegger Exp $ */
+/* $NetBSD: osf1_mod.c,v 1.3 2013/09/19 18:50:36 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osf1_mod.c,v 1.2 2008/11/19 22:02:21 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_mod.c,v 1.3 2013/09/19 18:50:36 christos Exp $");
#include <sys/param.h>
#include <sys/module.h>
@@ -46,7 +46,7 @@
#include <compat/osf1/osf1.h>
#include <compat/osf1/osf1_exec.h>
-MODULE(MODULE_CLASS_MISC, compat_osf1, "compat,exec_ecoff");
+MODULE(MODULE_CLASS_EXEC, compat_osf1, "compat,exec_ecoff");
static struct execsw osf1_execsw[] = {
{ ECOFF_HDR_SIZE,
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/ossaudio/ossaudio.c
--- a/sys/compat/ossaudio/ossaudio.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/ossaudio/ossaudio.c Thu Sep 19 18:50:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ossaudio.c,v 1.67 2011/10/14 09:23:29 hannken Exp $ */
+/* $NetBSD: ossaudio.c,v 1.68 2013/09/19 18:50:36 christos Exp $ */
/*-
* Copyright (c) 1997, 2008 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ossaudio.c,v 1.67 2011/10/14 09:23:29 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ossaudio.c,v 1.68 2013/09/19 18:50:36 christos Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -47,7 +47,7 @@
#include <compat/ossaudio/ossaudio.h>
#include <compat/ossaudio/ossaudiovar.h>
-MODULE(MODULE_CLASS_MISC, compat_ossaudio, NULL);
+MODULE(MODULE_CLASS_EXEC, compat_ossaudio, NULL);
#ifdef AUDIO_DEBUG
#define DPRINTF(x) if (ossdebug) printf x
diff -r 6a24d079bd1a -r 43ec5ec751de sys/compat/sunos/sunos_mod.c
--- a/sys/compat/sunos/sunos_mod.c Thu Sep 19 17:55:22 2013 +0000
+++ b/sys/compat/sunos/sunos_mod.c Thu Sep 19 18:50:35 2013 +0000
Home |
Main Index |
Thread Index |
Old Index