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

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 23 10:19:00 PDT 2014


commit c1235909fbc4690781b3eff4c1a6a6a7447580f3
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/c1235909fbc4690781b3eff4c1a6a6a7447580f3


-- 
DragonFly BSD source repository


More information about the Commits mailing list