PERFORCE change 79960 for review
soc-tyler
soc-tyler at FreeBSD.org
Mon Jul 11 04:53:49 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=79960
Change 79960 by soc-tyler at 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"
More information about the p4-projects
mailing list