Revision
23633
Author
zarzycki@apple.com
Date
2008-05-21 17:29:46 -0700 (Wed, 21 May 2008)

Log Message

<rdar://problem/5778798> more embedded updates

Modified Paths

Diff

Modified: branches/SULeopard/launchd/src/launchd_core_logic.c (23632 => 23633)


--- branches/SULeopard/launchd/src/launchd_core_logic.c	2008-05-22 00:28:44 UTC (rev 23632)
+++ branches/SULeopard/launchd/src/launchd_core_logic.c	2008-05-22 00:29:46 UTC (rev 23633)
@@ -2612,6 +2612,11 @@
 
 	if (!j->legacy_mach_job) {
 		sipc = (!SLIST_EMPTY(&j->sockets) || !SLIST_EMPTY(&j->machservices));
+#if TARGET_OS_EMBEDDED
+		if (j->username && strcmp(j->username, "mobile") == 0 && strncmp(j->label, "com.apple.", strlen("com.apple.")) != 0) {
+			sipc = false;
+		}
+#endif
 	}
 
 	j->checkedin = false;