~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 787.

  • Committer: Scott James Remnant
  • Date: 2007-11-15 05:48:07 UTC
  • Revision ID: scott@netsplit.com-20071115054807-u20wcoa4gyik7ghs
* init/job.c (job_child_reaper): Update argument names and types
to match new NihChildHandler pattern; switch on event instead,
which can now have three values not two (it always could, this was
a bug) to output warning and assume that status is always non-zero
if killed so no need to check that separately.
* init/job.h: Update prototype.
* init/tests/test_job.c (test_child_reaper): Update calls to
job_child_reaper to pass an NihChildEvents member instead of FALSE
or TRUE for killed.
* init/main.c: Adjust call to nih_child_add_watch to indicate which
events we want to pass to the reaper; we don't use NIH_CHILD_ALL
since we're going to add ptrace stuff to a different function.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: