git: kernel - Add EVFILT_USER

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 18 14:06:46 PDT 2014


commit 13d2f99beae0359393aecfc1eece839cea651547
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 18 14:04:44 2014 -0700

    kernel - Add EVFILT_USER
    
    * Bring in EVFILT_USER support from FreeBSD.  Document the hacked use of
      EV_CLEAR.
    
    * Implemented a bit differently.  Currently not implemented as another
      filter callback.  Instead we explicitly test for user_filtops, which
      isn't as messy (at least until some other kqueue feature needs the 'touch'
      interface).
    
    Taken-From: FreeBSD

Summary of changes:
 sys/kern/kern_event.c    | 169 ++++++++++++++++++++++++++++++++++++++++++++---
 sys/sys/event.h          |  25 ++++++-
 test/debug/evfilt_user.c |  69 +++++++++++++++++++
 3 files changed, 251 insertions(+), 12 deletions(-)
 create mode 100644 test/debug/evfilt_user.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/13d2f99beae0359393aecfc1eece839cea651547


-- 
DragonFly BSD source repository


More information about the Commits mailing list