git: kernel - Fix badfo_kqfilter for badfileops

看板DFBSD_commit作者時間15年前 (2010/08/29 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CULOcAy (DFBSD_commit)