Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern call exec_init() with before letting init(8) exec
details: https://anonhg.NetBSD.org/src/rev/134ca26044a7
branches: trunk
changeset: 500241:134ca26044a7
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Dec 08 22:07:36 2000 +0000
description:
call exec_init() with before letting init(8) exec
diffstat:
sys/kern/init_main.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r be3be752b2f0 -r 134ca26044a7 sys/kern/init_main.c
--- a/sys/kern/init_main.c Fri Dec 08 22:03:23 2000 +0000
+++ b/sys/kern/init_main.c Fri Dec 08 22:07:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_main.c,v 1.185 2000/11/27 08:39:43 chs Exp $ */
+/* $NetBSD: init_main.c,v 1.186 2000/12/08 22:07:36 jdolecek Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou. All rights reserved.
@@ -70,6 +70,7 @@
#include <sys/disklabel.h>
#include <sys/buf.h>
#include <sys/device.h>
+#include <sys/exec.h>
#include <sys/socketvar.h>
#include <sys/protosw.h>
#include <sys/reboot.h>
@@ -483,6 +484,9 @@
cpu_boot_secondary_processors();
#endif
+ /* Initialize exec structures */
+ exec_init(1);
+
/*
* Okay, now we can let init(8) exec! It's off to userland!
*/
Home |
Main Index |
Thread Index |
Old Index