Re: [PATCH] macros to detect existance of unlocked_ioctl and ioctl_compat

From: Andi Kleen
Date: Thu Jan 06 2005 - 15:55:38 EST


On Thu, Jan 06, 2005 at 11:59:59AM -0800, David S. Miller wrote:
> On Thu, 6 Jan 2005 20:51:44 +0100
> Andi Kleen <ak@xxxxxxx> wrote:
>
> > DaveM can probably give you more details since he tried unsucessfully
> > to make it work. I think the problem is that there is no enough
> > information for the compat layer to convert everything.
>
> When the usbfs async stuff writes back the status, we are no
> longer within the original syscall/ioctl execution any more,
> therefore we don't know if we're doing this for a compat task
> or not.

[...]

Thanks Dave for the update. I misremembered and I don't think
I can fix this up for x86-64. We'll need a new interface of some sort.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/