Re: [linux-usb-devel] Re: [BUG] oops while completing async USB via usbdevio

From: Harald Welte
Date: Mon Jun 06 2005 - 11:52:35 EST


On Mon, Jun 06, 2005 at 12:24:25PM -0400, Alan Stern wrote:
> > > Ok, I'll get something coded shortly.
> >
> > Unfortunately this approach is not feasible, since there is no 'reverse
> > mapping' from a file to a process. So for every URB delivery, we would
> > have to walk that task_list and check which tasks have opened this file.
>
> What about something like the standard FSETOWN fnctl?

I investigated this option, too. The magic behind FSETOWN doesn't allow
us to pass the URB address back to the process (together with the
signal).

--
- Harald Welte <laforge@xxxxxxxxxxxx> http://gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)

Attachment: pgp00000.pgp
Description: PGP signature