git: AMD64 - Fix bogus signal interruption

看板DFBSD_commit作者時間16年前 (2009/08/17 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AYDr5sy (DFBSD_commit)