Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265314AbUFZAFL (ORCPT ); Fri, 25 Jun 2004 20:05:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265537AbUFZAFL (ORCPT ); Fri, 25 Jun 2004 20:05:11 -0400 Received: from fw.osdl.org ([65.172.181.6]:24809 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S265314AbUFZAFI (ORCPT ); Fri, 25 Jun 2004 20:05:08 -0400 Date: Fri, 25 Jun 2004 17:07:51 -0700 From: Andrew Morton To: Paul Maurides Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.x signal handler bug Message-Id: <20040625170751.2acb3a67.akpm@osdl.org> In-Reply-To: <40DCBBC3.2010308@di.uoa.gr> References: <40DCBBC3.2010308@di.uoa.gr> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i586-pc-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: 446 Lines: 14 Paul Maurides wrote: > > void catcher(int sig){ > signal(SIGSEGV,catcher); > printf("requested: %9d malloced: %9d\n",len,real); > longjmp(env, 1); > } Use siglongjmp() - 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/