Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030261AbXADXR5 (ORCPT ); Thu, 4 Jan 2007 18:17:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030262AbXADXR5 (ORCPT ); Thu, 4 Jan 2007 18:17:57 -0500 Received: from smtp.osdl.org ([65.172.181.24]:35332 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030261AbXADXR4 (ORCPT ); Thu, 4 Jan 2007 18:17:56 -0500 Date: Thu, 4 Jan 2007 15:17:44 -0800 (PST) From: Linus Torvalds To: Andrew Morton cc: Mitchell Blank Jr , Al Viro , Eric Sandeen , Linux Kernel Mailing List , Al Viro Subject: Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values In-Reply-To: <20070104150651.5bafddfc.akpm@osdl.org> Message-ID: References: <20070104105430.1de994a7.akpm@osdl.org> <20070104191451.GW17561@ftp.linux.org.uk> <20070104202412.GY17561@ftp.linux.org.uk> <20070104215206.GZ17561@ftp.linux.org.uk> <20070104223856.GA79126@gaz.sfgoth.com> <20070104150651.5bafddfc.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 812 Lines: 23 On Thu, 4 Jan 2007, Andrew Morton wrote: > > That's what I currently have queued. It increases bad_inode.o text from > 200-odd bytes to 700-odd :( Then I think we're ok. We do care about bytes, but we care more about bytes that actually ever hit the icache or dcache, and this will effectively do neither. > That one should be ok. System calls by definition have the same return type, since they all have the same call site. So that one really does fit the "argument types differ, but the return type is the same" case. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/