看板 DFBSD_commit 關於我們 聯絡資訊
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