Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 04:53:47 GMT
From:      soc-tyler <soc-tyler@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 79960 for review
Message-ID:  <200507110453.j6B4rlvO070322@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79960

Change 79960 by soc-tyler@soc-tyler_launchd on 2005/07/11 04:53:03

	To init.c or not to init.c, oi

Affected files ...

.. //depot/projects/soc2005/launchd/Makefile#3 edit
.. //depot/projects/soc2005/launchd/NOTES#4 edit
.. //depot/projects/soc2005/launchd/init.c#2 edit

Differences ...

==== //depot/projects/soc2005/launchd/Makefile#3 (text+ko) ====

@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PROG=	launchd
-SRCS=	launchd.c liblaunch.c launchdebugd.c launchproxy.c 
+SRCS=	launchd.c liblaunch.c launchdebugd.c launchproxy.c init.c
 MAN=	launchd.conf.5 launchd.plist.5 init.8 launchd.8 \
 	launchd_debug.8 launchproxy.8 rc.8 service.8 
 	

==== //depot/projects/soc2005/launchd/NOTES#4 (text+ko) ====

@@ -18,3 +18,7 @@
 	fixed to accomodate.
 	
 	
+	o Regarding init(8) I'm still wondering whether or not it'd be best to take the stock
+	FreeBSD init(8) code, or the code that zarzycki@ and NeXT have modified for 
+	Mac OS X (and NeXTStep). i.e. Fresh start or hackery begets hackery...
+

==== //depot/projects/soc2005/launchd/init.c#2 (text+ko) ====

@@ -57,11 +57,13 @@
  * SUCH DAMAGE.
  */
 
+/* Mac OS specifics
 #include <Security/Authorization.h>
 #include <Security/AuthorizationTags.h>
 #include <Security/AuthSession.h>
 
 #include <mach/port.h>
+*/
 
 #include <sys/types.h>
 #include <sys/queue.h>
@@ -90,7 +92,9 @@
 #include <termios.h>
 
 #include "launchd.h"
+/* mach/Mac OS specific
 #include "bootstrap_internal.h"
+*/ 
 
 #define _PATH_RUNCOM            "/etc/rc"
 



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