DragonFly commits List (threaded) for 2011-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix MP refcount race in struct pargs
commit 19bfc8aba97a2cdc7b0d822266cdb5ae5d2e9a80
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Tue Feb 15 21:53:05 2011 -0800
kernel - Fix MP refcount race in struct pargs
* Protect p->p_args with p->p_token.
* Protect pargs refcounts with sys/refcount.h.
* This fixes at least one memory corruption bug during heavy fork/exec/exit
testing with fastbulk.
Testing-by: dillon, tuxillo
Summary of changes:
sys/kern/kern_exec.c | 33 +++++++++++++++++++++++----------
sys/kern/kern_fork.c | 3 ++-
sys/kern/kern_proc.c | 43 ++++++++++++++++++++++---------------------
3 files changed, 47 insertions(+), 32 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/19bfc8aba97a2cdc7b0d822266cdb5ae5d2e9a80
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]