Source-Changes archive

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

Re: CVS commit: src/sys



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@localhost      Urbana, IL * (217) 278-3933



Home | Main Index | Thread Index | Old Index