DragonFly-2.3.2.261.g4464e master sys/vfs/devfs devfs_rules.c usr.sbin/devfsctl devfsctl.c

Alex Hornung alexh at crater.dragonflybsd.org
Tue Aug 4 13:54:19 PDT 2009


commit 4464e289af92d311d06a466a46ab9608a3bffc7d
Author: Alex Hornung <ahornung at gmail.com>
Date:   Tue Aug 4 12:30:03 2009 +0000

    DEVFS - Fix a bug in devfsctl and devfs_rules
    
    in devfs_rules, a double-lock (lockmgr against lockmgr) lock
    occured when adding a link, as the rule would be checked again
    from inside the rule check.
    Also in devfs_rules, apply brackets to ensure priority as
    intended for operators.
    in devfsctl, the strlen() of the wrong variable was used.

Summary of changes:
 sys/vfs/devfs/devfs_rules.c  |   18 +++++++++++++++---
 usr.sbin/devfsctl/devfsctl.c |    6 +++---
 2 files changed, 18 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4464e289af92d311d06a466a46ab9608a3bffc7d


-- 
DragonFly BSD source repository





More information about the Commits mailing list