DragonFly commits List (threaded) for 2009-08
git: devfsctl - Disable ruletab support; use proper working dirs
Author: Alex Hornung <email@example.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(-)
DragonFly BSD source repository