DragonFly-2.3.2.261.g4464e master sys/vfs/devfs devfs_rules.c us

看板DFBSD_commit作者時間16年前 (2009/08/05 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 4464e289af92d311d06a466a46ab9608a3bffc7d Author: Alex Hornung <ahornung@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
文章代碼(AID): #1AUA6KWA (DFBSD_commit)