From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 14 Dec 2005 03:40:37 +0100 From: Andi Kleen Subject: Re: [PATCH 3/3] sanitize building of fs/compat_ioctl.c Message-ID: <20051214024037.GC23384@wotan.suse.de> References: <20051213173434.GP9286@parisc-linux.org> <20051213.145109.20744871.davem@davemloft.net> <20051213.182340.102535288.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051213.182340.102535288.davem@davemloft.net> To: "David S. Miller" Cc: ak@suse.de, hch@lst.de, akpm@osdl.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org List-ID: > 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