git: kernel - Enable EVFILT_WRITE for /dev/null, /dev/zero, etc

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 22 18:03:48 PDT 2010


commit 2ca4923a713044e0bc4b66c1516c55e3b402d305
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 22 18:00:03 2010 -0700

    kernel - Enable EVFILT_WRITE for /dev/null, /dev/zero, etc
    
    * Make both read and write kqfilters valid instead of just the read filter.
      This fixes issues with programs which select on stdout for writing,
      e.g. 'ssh -n "blah" > /dev/null'.

Summary of changes:
 sys/kern/kern_memio.c |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2ca4923a713044e0bc4b66c1516c55e3b402d305


-- 
DragonFly BSD source repository





More information about the Commits mailing list