DragonFly BSD
DragonFly commits List (threaded) for 2010-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kqueue - Fix bad error path triggered by emacs


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Jul 2010 18:11:41 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]