git: kqueue - Fix bad error path triggered by emacs

看板DFBSD_commit作者時間15年前 (2010/07/20 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 767629739cccd8cca9182968efc7e04bab6912ac Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Jul 19 18:08:18 2010 -0700 kqueue - Fix bad error path triggered by emacs * Some device d_kqfilter functions were not setting ap->a_result, leading to an error being improperly returned and knotes left hanging. This led to a lockup and/or a panic when running emacs. * Adjust dev_dkqfilter() to preset ap->a_result to 0 to fix the problem and document it. Reported-by: Sascha Wildner <swildner@erpicon.de> Summary of changes: sys/kern/kern_device.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/767629739cccd8cca9182968efc7e04bab6912ac -- DragonFly BSD source repository
文章代碼(AID): #1CHFoMo0 (DFBSD_commit)