[launchd-changes] [22895] trunk/launchd/src/launchd_core_logic.c

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 16 10:15:04 PDT 2006


Revision: 22895
          http://trac.macosforge.org/projects/launchd/changeset/22895
Author:   zarzycki at apple.com
Date:     2006-10-16 10:15:04 -0700 (Mon, 16 Oct 2006)

Log Message:
-----------
Fix a 'think-o' with respect to the re-design of bootstraps and the notion of a privileged bootstrap port.

Modified Paths:
--------------
    trunk/launchd/src/launchd_core_logic.c

Modified: trunk/launchd/src/launchd_core_logic.c
===================================================================
--- trunk/launchd/src/launchd_core_logic.c	2006-10-13 15:00:25 UTC (rev 22894)
+++ trunk/launchd/src/launchd_core_logic.c	2006-10-16 17:15:04 UTC (rev 22895)
@@ -1426,12 +1426,9 @@
 		} else {
 			jr = jp;
 		}
+		job_assumes(jp, jr != NULL);
 	}
 
-	if (!launchd_assumes(jr != NULL)) {
-		syslog(LOG_EMERG, "@@@@@ jp->label == %s", jp->label);
-	}
-
 	return jr;
 }
 
@@ -1704,9 +1701,6 @@
 		job_start_child(j, execspair[1]);
 		break;
 	default:
-		if (!SLIST_EMPTY(&j->machservices)) {
-			j->priv_port_has_senders = true;
-		}
 		j->p = c;
 		total_children++;
 		job_assumes(j, close(execspair[1]) == 0);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20061016/37d2b74d/attachment.html


More information about the launchd-changes mailing list