git: kernel - Fix signal races against exiting processes

看板DFBSD_commit作者時間14年前 (2011/12/28 02:05), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit e6426055a7e9e7c1758b2502d30bd71859aa4c62 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Dec 13 19:37:04 2011 -0800 kernel - Fix signal races against exiting processes * Fix a panic which can occur when a signal races an exiting process. * Fix an incorrect status return from the wait*() system calls which can sometimes occur when a SIGTSTP or other signal races an exit. Do not allow the signal status to overwrite the exit value. * Fix a race where the kill() system call can return ESRCH when a signal races an exiting process which has already entered the zombie state. Return success in this case and silently drop the signal. Summary of changes: sys/kern/kern_sig.c | 66 ++++++++++++++++++++++++++++++--------------------- 1 files changed, 39 insertions(+), 27 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e6426055a7e9e7c1758b2502d30bd71859aa4c62 -- DragonFly BSD source repository
文章代碼(AID): #1E-WZQue (DFBSD_commit)