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

Viewing all changes in revision 751.

  • Committer: Scott James Remnant
  • Date: 2007-06-22 14:15:56 UTC
  • Revision ID: scott@netsplit.com-20070622141556-rv4ndpymasfr920t
* init/tests/test_process.c (test_kill): Make sure that all processes
in the process group are killed, rather than just the lone one.
* init/process.c (process_kill): Send the signal to all processes
in the same process group as the pid.
* init/tests/test_job.c (test_change_state, test_kill_process):
After spawning a child, call setpgid() to put it in its own process
group otherwise we could end up TERMing ourselves.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: