git: kernel - Fix badfo_kqfilter for badfileops

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 28 11:10:38 PDT 2010


commit 304d60e8383b8c29ca01daedd3d21169d4347997
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list