git: kernel - Fix coredump race with threaded processes

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 29 11:17:20 PDT 2016


commit 0001762fb8738e5cf582bcff6922d7612db14853
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 29 11:15:51 2016 -0700

    kernel - Fix coredump race with threaded processes
    
    * Fix an issue where a threaded process trying to coredump could race
      and cause some threads to get stuck in tstop() when the main thread
      is trying to finally exit.  This creates an unkillable blocked process.
    
    Reported-by: zrj, marino

Summary of changes:
 sys/kern/kern_exit.c  | 4 +++-
 sys/kern/kern_sig.c   | 4 +++-
 sys/kern/kern_synch.c | 9 +++++++++
 3 files changed, 15 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0001762fb8738e5cf582bcff6922d7612db14853


-- 
DragonFly BSD source repository


More information about the Commits mailing list