git: AMD64 - Fix bogus signal interruption
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Aug 16 21:06:42 PDT 2009
commit 16094a3633ce22ff4861d6381dd804538bcd25c5
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list