From owner-p4-projects@FreeBSD.ORG Fri Nov 21 19:38:26 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5D77316A4D0; Fri, 21 Nov 2003 19:38:26 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from green.bikeshed.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 03E2816A4CE; Fri, 21 Nov 2003 19:38:26 -0800 (PST) Received: from green.bikeshed.org (green@pcp04368313pcs.nrockv01.md.comcast.net [69.140.209.127]) by green.bikeshed.org (8.12.10/8.12.9) with ESMTP id hAM3cP6p025382; Fri, 21 Nov 2003 22:38:25 -0500 (EST) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost)hAM3cPvP025379; Fri, 21 Nov 2003 22:38:25 -0500 (EST) Message-Id: <200311220338.hAM3cPvP025379@green.bikeshed.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Robert Watson In-Reply-To: Message from Robert Watson <200311212034.hALKYuci008601@repoman.freebsd.org> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Nov 2003 22:38:25 -0500 Sender: green@green.bikeshed.org cc: Perforce Change Reviews Subject: Re: PERFORCE change 42907 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: Sat, 22 Nov 2003 03:38:26 -0000 Robert Watson wrote: > http://perforce.freebsd.org/chv.cgi?CH=42907 > > Change 42907 by rwatson@rwatson_powerbook on 2003/11/21 12:34:34 > > Instructions for the WindowServer replacement bits. > > Affected files ... > > .. //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#7 edit > > Differences ... > > ==== //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#7 (text+ko) ==== > > @@ -181,8 +181,6 @@ > > cd sebsd_cmds/checkpolicy > make ; sudo make install > - cd ../../sebsd_system/wslogin > - XXX > cd ../.. > > Step 9: Build, Install wslogin and WindowServer wrapper > @@ -204,7 +202,16 @@ > > sudo make install > > - XXX: rename WindowServer, etc. > + In order to run the WindowServer in our modified environment, you must > + replace the existing WindowServer binary with our wrapper. NOTE: > + It is extremely important that these commands be executed cautiously: > + the new name for the old WindowServer must be RealWindowServer, and > + you really don't want to fail to rename before you install the new > + one, or you end up with no WindowServer at all: > + > + sudo mv /System/Library/CoreServices/WindowServer \ > + /System/Library/CoreServices/RealWindowServer > + sudo make install-window-server-wrapper > > Step 9: Build SEDarwin Sample Policy > > cspath="/System/Library/CoreServices" if sudo mv "${cspath}/WindowServer" "${cspath/}RealWindowServer"; then if ! sudo make install-window-server-wrapper || \ test ! -e "${cspath}/WindowServer"; then sudo mv "${cspath}/RealWindowServer" "${cspath}/WindowServer" fi fi or something... -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\