Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 10:31:25 -0800 (PST)
From:      Brian Feldman <green@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8446 for review
Message-ID:  <200203261831.g2QIVP834168@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8446

Change 8446 by green@green_laptop_2 on 2002/03/26 10:31:13

	For the root mount case, call the create_mount hook and then
	the create_mount_root hook.  If a module wishes to do no
	initialization at all of the root mount in create_mount, it may
	special-case and ignore it.

Affected files ...

... //depot/projects/trustedbsd/mac/sys/kern/init_main.c#16 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/init_main.c#16 (text+ko) ====

@@ -507,6 +507,7 @@
 	FILEDESC_UNLOCK(p->p_fd);
 	VOP_UNLOCK(rootvnode, 0, td);
 #ifdef MAC
+	mac_create_mount(td->td_ucred, TAILQ_FIRST(&mountlist));
 	mac_create_root_mount(td->td_ucred, TAILQ_FIRST(&mountlist));
 #endif /* MAC */
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203261831.g2QIVP834168>