Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 22:38:25 -0500
From:      "Brian F. Feldman" <green@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   Re: PERFORCE change 42907 for review 
Message-ID:  <200311220338.hAM3cPvP025379@green.bikeshed.org>
In-Reply-To: Message from Robert Watson <rwatson@FreeBSD.org>  <200311212034.hALKYuci008601@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson <rwatson@FreeBSD.org> 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.                       \,,,,,,,,,,,,,,,,,,,,,,\




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