DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: AMD64 - Fix bogus signal interruption


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Aug 2009 21:05:10 -0700 (PDT)

commit 16094a3633ce22ff4861d6381dd804538bcd25c5
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Aug 16 21:03:08 2009 -0700

    AMD64 - Fix bogus signal interruption
    
    * The TF_XFLAGS field in the trap frame was not getting cleared on trap and
      syscall entry.  This field can cause a mailbox signal to be flagged in
      the signal frame which in turn can cause the next blockable system call
      to return EINTR.
    
      This fixes the last issue with mount_mfs.
    
    * Cast the signal function to intptr_t rather then int.

Summary of changes:
 sys/kern/kern_sig.c                 |    6 +++---
 sys/platform/pc64/amd64/exception.S |    6 ++++++
 2 files changed, 9 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/16094a3633ce22ff4861d6381dd804538bcd25c5


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]