summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c4
-rw-r--r--sys/kern/kern_subr.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 119bcecce17..7b13c6c32c0 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.120 2004/11/23 19:08:55 miod Exp $ */
+/* $OpenBSD: init_main.c,v 1.121 2004/11/28 02:11:33 deraadt Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -514,6 +514,8 @@ main(framep)
cpu_boot_secondary_processors();
#endif
+ domountroothooks();
+
/*
* Okay, now we can let init(8) exec! It's off to userland!
*/
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c
index 32e659af713..b16f5f0671d 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_subr.c,v 1.28 2004/06/13 21:49:26 niklas Exp $ */
+/* $OpenBSD: kern_subr.c,v 1.29 2004/11/28 02:11:33 deraadt Exp $ */
/* $NetBSD: kern_subr.c,v 1.15 1996/04/09 17:21:56 ragge Exp $ */
/*
@@ -194,6 +194,8 @@ struct hook_desc_head startuphook_list =
TAILQ_HEAD_INITIALIZER(startuphook_list);
struct hook_desc_head shutdownhook_list =
TAILQ_HEAD_INITIALIZER(shutdownhook_list);
+struct hook_desc_head mountroothook_list =
+ TAILQ_HEAD_INITIALIZER(mountroothook_list);
void *
hook_establish(head, tail, fn, arg)