kernel - MPSAFE work, fix race in init zombie cleanup
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Feb 2011 04:29:25 +0000 (20:29 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Feb 2011 04:29:25 +0000 (20:29 -0800)
commit7e90d7915bfc2c3ce8a42866a57494dd66164a57
treeeba7d5ecf5000aebd7b226e758e20de3fb595026
parentf79d9cc971a2fff4b0de7e1fa3a36d29332ab890
kernel - MPSAFE work, fix race in init zombie cleanup

* Acquire the required initproc->p_token when reparenting an exiting
  process's children to init, fixing a race against init's wait*().
sys/kern/kern_exit.c