Hi,

On Thu, Jul 30, 2009 at 02:50:18PM +0200, Carl Fredrik Hammar wrote:

> Currently, attempts to handle a ioctl are done in the following order:
> 
> * Use server ioctl handler
> * Look up a glibc ioctl handler
> * Translate ioctl into an RPC

Sounds reasonable.

> I'm also considering allowing the server to specify several modules
> containing ioctl handlers.  This would be useful if we decide to use
> code-blessers since in that case it would be impossible for an untrusted
> user to provide a trusted module that aggregates several trusted handlers.
> 
> But then again a device that implements ioctls from several device classes
> are probably very exotic (at least when excluding those already defined
> by glibc).  What do you think?

Indeed, I'd say don't bother unless it's trivial.

-antrik-


Reply via email to