Subject: Re: Querying an userland program from the kernel
To: None <tech-kern@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 01/25/2004 15:12:11
On Sun, Jan 25, 2004 at 03:30:03AM -0500, der Mouse wrote:
> > A character device, however, you can "chmod 600 /dev/dev0 ; chown
> > dyoung /dev/dev0".
> 
> Yes.  Now, if an ioctl on /dev/dev0 takes as (part of?) its argument
> one of a pair of connected sockets, taking over that socket as the
> kernel end of the communication, then you have the flexible access
> control of a device with the interface utility of a socket.

IIRC, the "interface utility of a socket" that your app needs is
descriptor-passing. Do we know yet if Matthias' application needs that?

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933