DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Aug 2009 01:50:52 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]