summaryrefslogtreecommitdiff
path: root/sys/kern/exec_script.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2013-09-19 18:50:35 +0000
committerchristos <christos@NetBSD.org>2013-09-19 18:50:35 +0000
commitd53058c1174c53c5d449cb1652ce52cd3ee5d29d (patch)
treebe720f11ba842b9e73a35c5c47e5133df6586f6f /sys/kern/exec_script.c
parent221fa411d0a15f4c58cf456e09efcae31963bee8 (diff)
exec modules need to be of the exec kind
Diffstat (limited to 'sys/kern/exec_script.c')
-rw-r--r--sys/kern/exec_script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c
index 05210752355..de78f667e85 100644
--- a/sys/kern/exec_script.c
+++ b/sys/kern/exec_script.c
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_script.c,v 1.66 2010/11/19 06:44:42 dholland Exp $ */
+/* $NetBSD: exec_script.c,v 1.67 2013/09/19 18:50:59 christos Exp $ */
/*
* Copyright (c) 1993, 1994, 1996 Christopher G. Demetriou
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.66 2010/11/19 06:44:42 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.67 2013/09/19 18:50:59 christos Exp $");
#if defined(SETUIDSCRIPTS) && !defined(FDSCRIPTS)
#define FDSCRIPTS /* Need this for safe set-id scripts. */
@@ -54,7 +54,7 @@ __KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.66 2010/11/19 06:44:42 dholland Ex
#include <sys/exec_script.h>
#include <sys/exec_elf.h>
-MODULE(MODULE_CLASS_MISC, exec_script, NULL);
+MODULE(MODULE_CLASS_EXEC, exec_script, NULL);
static struct execsw exec_script_execsw[] = {
{ SCRIPT_HDR_SIZE,