Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751502AbWIFSYo (ORCPT ); Wed, 6 Sep 2006 14:24:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751501AbWIFSYo (ORCPT ); Wed, 6 Sep 2006 14:24:44 -0400 Received: from smtp.osdl.org ([65.172.181.4]:21419 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751477AbWIFSYn (ORCPT ); Wed, 6 Sep 2006 14:24:43 -0400 Date: Wed, 6 Sep 2006 11:24:05 -0700 (PDT) From: Linus Torvalds To: Kirill Korotaev cc: Linux Kernel Mailing List , Fernando Vazquez , "David S. Miller" , tony.luck@intel.com, linux-ia64@vger.kernel.org, stable@kernel.org, xemul@openvz.org, devel@openvz.org Subject: Re: [PATCH] IA64,sparc: local DoS with corrupted ELFs In-Reply-To: <44FC193C.4080205@openvz.org> Message-ID: References: <44FC193C.4080205@openvz.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: 1134 Lines: 31 On Mon, 4 Sep 2006, Kirill Korotaev wrote: > > this patch is already commited into -stable 2.6.17.y tree. I don't like it. Apparently the patch was bad, and broken on MIPS and parisc, and it was applied to the stable tree without being in the standard tree. If MIPS and parisc don't matter for the stable tree (very possible - there are no big commercial distributions for them), then dammit, neither should ia64 and sparc (there are no big commercial distros for them either). Either way, it seems this didn't happen the way it should have. The proper fix would _seem_ to have the whole #ifndef arch_mmap_check #define arch_mmap_check(addr, len, flags) (0) #endif in the only file that actually _uses_ this, namely mm/mmap.c. Rather than pollute lots of architecture-specific files with this macro that nobody really is interested in except for ia64 and sparc. 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/