git: devfs - fix some issues with rules

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


commit dd8bea0af652195d5c6e9d7fb6cea41a29cb7999
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/dd8bea0af652195d5c6e9d7fb6cea41a29cb7999


-- 
DragonFly BSD source repository





More information about the Commits mailing list