git: kernel - Fix MP refcount race in struct sigacts

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 16 10:14:51 PST 2011


commit 6fa9e71aacb7301bc1e9999832a26cb661a071f7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Feb 16 09:53:54 2011 -0800

    kernel - Fix MP refcount race in struct sigacts
    
    * Code wasn't MPSAFE.
    
    * Use the refcount API to manage refs for struct sigacts

Summary of changes:
 sys/kern/init_main.c |    2 +-
 sys/kern/kern_exec.c |   21 ++++++++++++---------
 sys/kern/kern_exit.c |   11 +++++++----
 sys/kern/kern_fork.c |    8 ++++----
 sys/sys/signalvar.h  |    2 +-
 5 files changed, 25 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6fa9e71aacb7301bc1e9999832a26cb661a071f7


-- 
DragonFly BSD source repository





More information about the Commits mailing list