Re: [PATCH 3/3] sanitize building of fs/compat_ioctl.c

Andi Kleen
2005-12-14T02:40:44Z

> I suppose. We could also funnel down ->compat_{read,write}() and
> so on down the call chain, but that would likely be even uglier.

The problem is that this would need to be done for all variants
(write, writev, aio_write, send{,msg,to} etc.) Same for read. I probably forgot
one or two.

> I guess with is_compat_task() we can do the netlink and pfkeyv2 compat
> stuff on ia64/x86_64. I don't look forward to reviewing a patch
> implementing that, however :-/

And iptables, although that would be probably *really* ugly.
It's a bit of a sore spot on x86-64 though. 64bit kernel with full
32bit userland works usually great except for iptables and ipsec.

-Andi