DragonFly-2.3.2.319.gb9a1f master sys/kern kern_memio.c

Alex Hornung alexh at crater.dragonflybsd.org
Thu Aug 6 15:28:47 PDT 2009


commit b9a1f8e1dbe086ed6bd0b75102247c992c85b467
Author: Alex Hornung <ahornung at gmail.com>
Date:   Fri Aug 7 00:00:05 2009 +0100

    kern_memio - fix check for zerodev to fix memory mappings
    
    * Change iszerodev() to check against a saaved cdev_t returned by
      the make_dev creating /dev/zero instead of relying on some
      major/minor magic.
    
    * This fixes a problem when running mono, which caused a segfault
      on memset().
    
    Reported-By: Hasso Tepper
    Reported-By: Matthew Dillon

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b9a1f8e1dbe086ed6bd0b75102247c992c85b467


-- 
DragonFly BSD source repository





More information about the Commits mailing list