git: kqueue - Fix bad error path triggered by emacs
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jul 19 18:12:30 PDT 2010
commit 767629739cccd8cca9182968efc7e04bab6912ac
Author: Matthew Dillon <dillon at 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 at 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
More information about the Commits
mailing list