From owner-p4-projects@FreeBSD.ORG Sun Nov 23 12:13:01 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C31E916A4D0; Sun, 23 Nov 2003 12:13:00 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8751F16A4CE for ; Sun, 23 Nov 2003 12:13:00 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA2A943FBD for ; Sun, 23 Nov 2003 12:12:59 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hANKCxXJ019107 for ; Sun, 23 Nov 2003 12:12:59 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hANKCxMh019104 for perforce@freebsd.org; Sun, 23 Nov 2003 12:12:59 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sun, 23 Nov 2003 12:12:59 -0800 (PST) Message-Id: <200311232012.hANKCxMh019104@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 42973 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 20:13:01 -0000 http://perforce.freebsd.org/chv.cgi?CH=42973 Change 42973 by rwatson@rwatson_powerbook on 2003/11/23 12:12:24 Oops, revert last change. Affected files ... .. //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#20 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#20 (text+ko) ==== @@ -162,7 +162,7 @@ make ; sudo make install cd .. -Step 9: Build, Install wslogin and WindowServer wrapper +Step 10: Build, Install wslogin and WindowServer wrapper In order to allow users to select roles during GUI login, you must install our WindowServer wrapper. This will cause a dialog box @@ -188,7 +188,7 @@ sudo make install-window-server-wrapper cd ../.. -Step 9: Build SEDarwin Sample Policy +Step 11: Build SEDarwin Sample Policy We provide a minimal sample policy; due to current limitations in loading the policy at boot-time, we link the sample policy directly into the Darwin kernel @@ -206,7 +206,7 @@ Until we have this fixed, remember that when you change the policy, you need to re-install and remake the XNU kernel. -Step 10: Build XNU +Step 12: Build XNU NOTE: If you skipped the long and tedious elements of Step 2 above, the chances are good this step will fail with a variety of hard to @@ -254,35 +254,49 @@ sudo cp /mach_kernel /mach_kernel.safe -Step 10: Build, Install "Libkvm" +Step 13: Build, Install "Libkvm" + + This will make sure that ps and related commands can read the new layout + of kernel memory due to changes in the size of kernel structures such + as processes and credentials. cd apsl/Libkvm make ; sudo make install cd ../.. -Step 11: Build, Install "file_cmds" +Step 14: Build, Install "file_cmds" + + This will build commands like ls with MAC label support. cd apsl/file_cmds make ; sudo make install cd ../.. -Step 12: Build, Install "adv_cmds" +Step 15: Build, Install "adv_cmds" + + This will build commands like ps with MAC label support. cd other/adv_cmds make ; sudo make install cd ../.. -Step 13: Create extended attribute backing files +Step 16: Create extended attribute backing files + + This will allocate storage space for MAC labels on the root file system. + You may wish to run similar commands on other file systems. Replace the + "/" in this command with the root of the file systme in question, and + insert the same directory in front of "/.attribute/system/sebsd" to + store the attributes in that file system. extattrctl initattr -p / 256 /.attribute/system/sebsd -Step 14: Install mac.conf +Step 17: Install mac.conf cd etc make ; sudo make install cd .. -Step 15: Reboot +Step 18: Reboot At this point, you should now have a new Darwin kernel, support libraries, command line tools, and configuration files installed. Reboot.