Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262430AbVAKEAu (ORCPT ); Mon, 10 Jan 2005 23:00:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262393AbVAKD7k (ORCPT ); Mon, 10 Jan 2005 22:59:40 -0500 Received: from fw.osdl.org ([65.172.181.6]:56997 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262486AbVAKD51 (ORCPT ); Mon, 10 Jan 2005 22:57:27 -0500 Date: Mon, 10 Jan 2005 19:57:10 -0800 From: Andrew Morton To: Jeremy Fitzhardinge Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.10-mm2: panic when munmap()ping the stack Message-Id: <20050110195710.439aae68.akpm@osdl.org> In-Reply-To: <1105401719.4153.2.camel@localhost> References: <1105401719.4153.2.camel@localhost> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 712 Lines: 21 Jeremy Fitzhardinge wrote: > > This program causes an instant panic for me: > > #include > > int main(int argc, char **argv) > { > munmap((char *)(((unsigned long)&argc) & ~4095), 4096*2); > > return 0; > } I dont' seem to be able to get it to do anything bad at all, with current -linus or with the current -mm lineup. Can you retest -mm3 when it's cooked? - 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/