From owner-p4-projects Tue Mar 26 10:31:31 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C0A4A37B41A; Tue, 26 Mar 2002 10:31:26 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F0A3D37B416 for ; Tue, 26 Mar 2002 10:31:25 -0800 (PST) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2QIVP834168 for perforce@freebsd.org; Tue, 26 Mar 2002 10:31:25 -0800 (PST) (envelope-from green@freebsd.org) Date: Tue, 26 Mar 2002 10:31:25 -0800 (PST) Message-Id: <200203261831.g2QIVP834168@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to green@freebsd.org using -f From: Brian Feldman Subject: PERFORCE change 8446 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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