PERFORCE change 42907 for review

Brian F. Feldman green at FreeBSD.org
Sat Nov 22 03:38:25 GMT 2003


Robert Watson <rwatson at FreeBSD.org> wrote:
> http://perforce.freebsd.org/chv.cgi?CH=42907
> 
> Change 42907 by rwatson at 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 at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list