summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-07-31 01:11:29 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-07-31 01:11:29 +0000
commita87cdf8335c69583f8b41d467f3ccc1b26971f53 (patch)
tree3181dfd09270418e03ceef238510e52910602484 /sys/kern/init_main.c
parent8a1d977d66a39ae5e98b9ce35dd7041d16b784c7 (diff)
Notes
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index d43d52ffa10a..7c0f13c67da1 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -519,6 +519,9 @@ start_init(void *dummy)
VREF(p->p_fd->fd_rdir);
FILEDESC_UNLOCK(p->p_fd);
VOP_UNLOCK(rootvnode, 0, td);
+#ifdef MAC
+ mac_create_root_mount(td->td_ucred, TAILQ_FIRST(&mountlist));
+#endif
if (devfs_present) {
/*