Source-Changes-HG archive

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

[src/trunk]: src/sys/kern What's the point of having a module exec class if e...



details:   https://anonhg.NetBSD.org/src/rev/28d5feba0086
branches:  trunk
changeset: 789901:28d5feba0086
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Sep 12 19:01:38 2013 +0000

description:
What's the point of having a module exec class if exec is not using it?

diffstat:

 sys/kern/kern_exec.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6a253d4449e4 -r 28d5feba0086 sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c      Thu Sep 12 18:00:18 2013 +0000
+++ b/sys/kern/kern_exec.c      Thu Sep 12 19:01:38 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exec.c,v 1.362 2013/09/10 21:30:21 matt Exp $     */
+/*     $NetBSD: kern_exec.c,v 1.363 2013/09/12 19:01:38 christos Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.362 2013/09/10 21:30:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.363 2013/09/12 19:01:38 christos Exp $");
 
 #include "opt_exec.h"
 #include "opt_execfmt.h"
@@ -557,7 +557,7 @@
 
        list = (nexecs == 0 ? native : compat);
        for (i = 0; list[i] != NULL; i++) {
-               if (module_autoload(list[i], MODULE_CLASS_MISC) != 0) {
+               if (module_autoload(list[i], MODULE_CLASS_EXEC) != 0) {
                        continue;
                }
                yield();



Home | Main Index | Thread Index | Old Index