DragonFly commits List (threaded) for 2012-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: DragonFly_RELEASE_3_2 kernel - Fix proc_reparent() race/assertion panic
commit 5c937bbc0b06e4c91614583bae516e30b0797adf
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Wed Nov 28 10:21:38 2012 -0800
kernel - Fix proc_reparent() race/assertion panic
* Fix proc_reparent() race/assertion panic. p_pptr changes can race,
and the procedure had an assertion for the case. Recode the procedure
to retry on a mismatch instead of assert.
* Also move the old-parent-wakeup code into the procedure so it is
properly executed in all cases.
Reported-by: Peter Avalos
Summary of changes:
sys/emulation/linux/i386/linux_machdep.c | 8 +++-
sys/emulation/linux/linux_emuldata.c | 4 +-
sys/kern/kern_exit.c | 62 ++++++++++++++++--------------
sys/kern/sys_process.c | 7 +--
4 files changed, 44 insertions(+), 37 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5c937bbc0b06e4c91614583bae516e30b0797adf
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]