DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Aug 2009 15:27:27 -0700 (PDT)

commit b9a1f8e1dbe086ed6bd0b75102247c992c85b467
Author: Alex Hornung <ahornung@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]