-
Committer:
Scott James Remnant
-
Date:
2007-10-11 21:08:38 UTC
-
Revision ID:
scott@netsplit.com-20071011210838-yrgob8ee7xils6kf
* 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.