git: DragonFly_RELEASE_3_8 reboot - Mask SIGTERM to fix a self-immolation issue

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 23 10:20:34 PDT 2014


commit 1ccf2c65a4ed9213b4c0a97526ff24e0944cf8a2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Oct 23 10:17:07 2014 -0700

    reboot - Mask SIGTERM to fix a self-immolation issue
    
    * reboot is getting SIGTERM'd, possibly from its parent shell, before
      it can finish telling the system to reboot.  Mask this signal as well.
    
    * But possibly exposed by earlier SMP work that could result in the
      signal getting in front of the final system call to reboot.
    
    Submitted-by: YONETANI Tomokazu

Summary of changes:
 sbin/reboot/reboot.c | 2 ++
 1 file changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1ccf2c65a4ed9213b4c0a97526ff24e0944cf8a2


-- 
DragonFly BSD source repository


More information about the Commits mailing list