DragonFly commits List (threaded) for 2012-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix proc_reparent() race/assertion panic
commit 55c81f71d1d24b9c7a6fa694b6d63d132cdba3b9
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/55c81f71d1d24b9c7a6fa694b6d63d132cdba3b9
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]