git: DragonFly_RELEASE_2_8 devfs - fix some issues with rules

Alex Hornung alexh at crater.dragonflybsd.org
Mon Nov 1 13:53:57 PDT 2010


commit 0d8fd16a53a43ab1002b21caa83a04df52df469e
Author: Alex Hornung <ahornung at gmail.com>
Date:   Mon Nov 1 20:38:14 2010 +0000

    devfs - fix some issues with rules
    
    * devfs_rule_alloc was still assuming that the rule_type and rule_cmd are not
      bit fields, but they now are.
    
    * return error in a number of places when a null pointer or nil-length string
      is passed in.
    
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1885
    Reported-by: 'fanch'

Summary of changes:
 sys/vfs/devfs/devfs_rules.c |   87 +++++++++++++++++++++++++++++++-----------
 1 files changed, 64 insertions(+), 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d8fd16a53a43ab1002b21caa83a04df52df469e


-- 
DragonFly BSD source repository





More information about the Commits mailing list