git: devfsctl - Disable ruletab support; use proper working dirs

看板DFBSD_commit作者時間16年前 (2009/08/17 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 8212e7002976ac716f7429e985ed276a08717076 Author: Alex Hornung <ahornung@gmail.com> Date: Fri Aug 14 17:31:11 2009 +0100 devfsctl - Disable ruletab support; use proper working dirs * Disable (temporarily) all ruletab support in devfsctl. * If a configuration file cannot be found, it is searched after in the default directory (/etc/devfs) before erroring out. * When including a file in some other directory, the working directory is temporarily changed to that dir, so that further includes work as intended. After each include, the working directory is restored to the previous one. * Make sure that all configuration files are owned by root so the system is protected from malicious rule files. Summary of changes: usr.sbin/devfsctl/devfsctl.c | 57 +++++++++++++++++++++++++++++++---------- usr.sbin/devfsctl/devfsctl.h | 6 +++- 2 files changed, 48 insertions(+), 15 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8212e7002976ac716f7429e985ed276a08717076 -- DragonFly BSD source repository
文章代碼(AID): #1AYHnNXG (DFBSD_commit)