Changeset 23246
- Timestamp:
- 05/08/07 11:17:51 (19 months ago)
- Files:
-
- 1 modified
-
trunk/launchd/src/launchd_core_logic.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/launchd/src/launchd_core_logic.c
r23245 r23246 1671 1671 1672 1672 if (jm->jm_port == mport) { 1673 return jobmgr_find_by_pid(jm, upid, true); 1673 jobmgr_assumes(jm, (ji = jobmgr_find_by_pid(jm, upid, true)) != NULL); 1674 return ji; 1674 1675 } 1675 1676 … … 1709 1710 1710 1711 if (jobmgr_assumes(root_jobmgr, sysctl(mib, 4, &kp, &len, NULL, 0) != -1)) { 1711 jobmgr_log(root_jobmgr, LOG_ERR, "%s() was confused by PID %u : %s", __func__, ldc.pid, kp.kp_proc.p_comm);1712 jobmgr_log(root_jobmgr, LOG_ERR, "%s() was confused by PID %u UID %u EUID %u Mach Port 0x%x: %s", __func__, ldc.pid, ldc.uid, ldc.euid, p, kp.kp_proc.p_comm); 1712 1713 } 1713 1714 } … … 5227 5228 } 5228 5229 5229 if (getpid() != 1 && job_mig_intran(target_subset)) { 5230 /* We call job_mig_intran2 because job_mig_intran logs on failure */ 5231 if (getpid() != 1 && job_mig_intran2(root_jobmgr, target_subset, getpid())) { 5230 5232 kr = 0; 5231 5233 goto out;

