bug-hurd
[Top][All Lists]
Advanced

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

Re: Server provided ioctl handler details


From: olafBuddenhagen
Subject: Re: Server provided ioctl handler details
Date: Mon, 17 Aug 2009 06:58:36 +0200
User-agent: Mutt/1.5.19 (2009-01-05)

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

[Prev in Thread] Current Thread [Next in Thread]