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

git: kernel - Fix badfo_kqfilter for badfileops


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 28 Aug 2010 11:09:07 -0700 (PDT)

commit 304d60e8383b8c29ca01daedd3d21169d4347997
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat Aug 28 09:02:47 2010 -0700

    kernel - Fix badfo_kqfilter for badfileops
    
    * badfo_kqfilter() must return an error to cause the kqueue
      registraton to drop the knote, otherwise a kernel panic
      will occur because the default file_filtops isn't replaced
      and has not detach or event functions.

Summary of changes:
 sys/kern/kern_descrip.c |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/304d60e8383b8c29ca01daedd3d21169d4347997


-- 
DragonFly BSD source repository



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