Subject: Re: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: source-changes
Date: 08/18/2004 14:19:27
On Wed, Aug 18, 2004 at 07:59:18AM -0700, Jason Thorpe wrote:
>
> On Aug 18, 2004, at 5:19 AM, Matthias Drochner wrote:
>
> >Module Name: src
> >Committed By: drochner
> >Date: Wed Aug 18 12:19:30 UTC 2004
> >
> >Modified Files:
> > src/sys/conf: files majors
> > src/sys/sys: Makefile
> >Added Files:
> > src/sys/kern: kern_drvctl.c
> > src/sys/sys: drvctlio.h
> >
> >Log Message:
> >add a "drvctl" pseudo-device as userland interface to the autoconf
> >rescan() and detach() functions
>
> Why use a pseudo-device here? Why not a drvctl(2) system call?
I like that it is a pseudo-device. It means that you can delegate the
drvctl privilege to an unprivileged user with chown/chmod.
Dave
--
David Young OJC Technologies
dyoung@ojctech.com Urbana, IL * (217) 278-3933