git: DragonFly_RELEASE_2_10 kernel - Fix signal delivery races

看板DFBSD_commit作者時間14年前 (2011/07/30 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 025d695a653d667f8d06e460e9e0e625ded69efb Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Jul 29 01:19:29 2011 -0700 kernel - Fix signal delivery races * The send side was using p->p_token but the processing code from trap was still using the mp_lock. Fix the trap processing code to use p->p_token. * This fixes several nasty races that can cause signals to be lost and vkernels to freeze, and possibly other programs which depend on signals between threads. Summary of changes: sys/kern/kern_sig.c | 2 ++ sys/platform/pc32/i386/trap.c | 8 ++++---- sys/platform/pc64/x86_64/trap.c | 8 ++++---- sys/platform/vkernel/i386/trap.c | 8 ++++---- sys/platform/vkernel64/x86_64/trap.c | 8 ++++---- 5 files changed, 18 insertions(+), 16 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/025d695a653d667f8d06e460e9e0e625ded69efb -- DragonFly BSD source repository
文章代碼(AID): #1EC-ksZi (DFBSD_commit)