* @APPLE_APACHE_LICENSE_HEADER_END@
*/
-static const char *const __rcs_file_version__ = "$Revision: 24003 $";
+static const char *const __rcs_file_version__ = "$Revision: 24108 $";
#include "config.h"
#include "launchd_core_logic.h"
}
if (jobmgr_assumes(jm, (jr = job_new(jm, AUTO_PICK_ANONYMOUS_LABEL, kp.kp_proc.p_comm, NULL)) != NULL)) {
- u_int proc_fflags = NOTE_EXEC|NOTE_FORK|NOTE_EXIT|NOTE_REAP;
+ u_int proc_fflags = NOTE_EXEC|NOTE_FORK|NOTE_EXIT;
total_anon_children++;
jr->anonymous = true;
j = NULL;
}
}
-
- if (j && (fflags & NOTE_REAP)) {
- job_assumes(j, j->p == 0);
- }
}
void
char nbuf[64];
pid_t c;
bool sipc = false;
- u_int proc_fflags = NOTE_EXIT|NOTE_FORK|NOTE_EXEC|NOTE_REAP;
+ u_int proc_fflags = NOTE_EXIT|NOTE_FORK|NOTE_EXEC;
if (!job_assumes(j, j->mgr != NULL)) {
return;