Changeset 23620
- Timestamp:
- 05/05/08 13:23:42 (7 months ago)
- Files:
-
- 1 modified
-
trunk/launchd/src/launchd_core_logic.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/launchd/src/launchd_core_logic.c
r23618 r23620 476 476 static void job_callback_read(job_t j, int ident); 477 477 static void job_log_stray_pg(job_t j); 478 static void job_log_chi dren_without_exec(job_t j);478 static void job_log_children_without_exec(job_t j); 479 479 static job_t job_new_anonymous(jobmgr_t jm, pid_t anonpid) __attribute__((malloc, nonnull, warn_unused_result)); 480 480 static job_t job_new(jobmgr_t jm, const char *label, const char *prog, const char *const *argv) __attribute__((malloc, nonnull(1,2), warn_unused_result)); … … 2565 2565 2566 2566 void 2567 job_log_chi dren_without_exec(job_t j)2567 job_log_children_without_exec(job_t j) 2568 2568 { 2569 2569 /* <rdar://problem/5701343> ER: Add a KERN_PROC_PPID sysctl */ … … 2600 2600 } 2601 2601 2602 job_log(j, LOG_APPLEONLY, " Performance and sanity: fork() without exec*(). Please switch to posix_spawn(). Child PID %u",2602 job_log(j, LOG_APPLEONLY, "Called *fork(). Please switch to posix_spawn*(), pthreads or launchd. Child PID %u", 2603 2603 kp[i].kp_proc.p_pid); 2604 2604 } … … 2642 2642 if (fflags & NOTE_FORK) { 2643 2643 job_log(j, LOG_DEBUG, "fork()ed%s", program_changed ? ". For this message only: We don't know whether this event happened before or after execve()." : ""); 2644 job_log_chi dren_without_exec(j);2644 job_log_children_without_exec(j); 2645 2645 } 2646 2646

