From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CpEP1-0006HE-4l for user-mode-linux-devel@lists.sourceforge.net; Thu, 13 Jan 2005 15:29:19 -0800 Received: from ns.theshore.net ([67.18.92.50] helo=www.theshore.net) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41) id 1CpEOz-0002Yj-F4 for user-mode-linux-devel@lists.sourceforge.net; Thu, 13 Jan 2005 15:29:18 -0800 Received: from hawk (mothership.theshore.net [69.137.84.52]) by www.theshore.net (8.12.9/8.9.1) with SMTP id j0DNTGuF028859 for ; Thu, 13 Jan 2005 18:29:16 -0500 Message-ID: <002001c4f9c7$de282ec0$0201a8c0@hawk> From: "Christopher S. Aker" References: <200501121856.j0CIuMiZ003766@ccure.user-mode-linux.org> Subject: Re: [uml-devel] [PATCH] Fix stack corruption MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 13 Jan 2005 17:30:28 -0600 To: uml-devel > The fix is obvious: > > Index: 2.6.10/arch/um/kernel/skas/process.c > =================================================================== > --- 2.6.10.orig/arch/um/kernel/skas/process.c 2005-01-12 11:17:22.000000000 -0500 > +++ 2.6.10/arch/um/kernel/skas/process.c 2005-01-12 11:18:03.000000000 -0500 > @@ -323,9 +323,10 @@ > block_signals(); > if(sigsetjmp(fork_buf, 1) == 0) > new_thread_proc(stack, handler); > - set_signals(flags); > > remove_sigstack(); > + > + set_signals(flags); > } > > void thread_wait(void *sw, void *fb) Just a follow up on this for the sake of a paper trail... This doesn't fix the test-case below: http://www.theshore.net/~caker/uml/crashkit-no-console-output/ readme.txt: ---- All you need is an UML guest assigned an IP on your network, iptables, and the two files below in the same directory. Run the script, while ping-flooding the UML's IP address from the host, or another machine on your network. This script works best with a 2.6 based UML. I can recreate the crash easily using 2.6.9-linode9 (based on -bb4), also available on this website. ---- I believe we've figured out that this is skas3 specific. Once you start ping-flooding the UML, it crashes within a second. -Chris ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel