Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 4 Dec 2002 17:34:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 4 Dec 2002 17:34:27 -0500 Received: from pizda.ninka.net ([216.101.162.242]:9687 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Wed, 4 Dec 2002 17:34:25 -0500 Date: Wed, 04 Dec 2002 14:39:11 -0800 (PST) Message-Id: <20021204.143911.130515081.davem@redhat.com> To: george@mvista.com Cc: dan@debian.org, torvalds@transmeta.com, sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, anton@samba.org, ak@muc.de, davidm@hpl.hp.com, schwidefsky@de.ibm.com, ralf@gnu.org, willy@debian.org Subject: Re: [PATCH] compatibility syscall layer (lets try again) From: "David S. Miller" In-Reply-To: <3DEE822D.385D2664@mvista.com> References: <20021204205609.GA29953@nevyn.them.org> <20021204.140954.89672437.davem@redhat.com> <3DEE822D.385D2664@mvista.com> X-FalunGong: Information control. X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) 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: 855 Lines: 22 From: george anzinger Date: Wed, 04 Dec 2002 14:31:09 -0800 It might help to understand just what registers do_signal needs. It doesn't need them all, I suspect. Some of the original register values the process had before the system call was processed. I think it's best just to abstract this away properly, as Linus said to begin with I'd like to note, rather than trying to come up with a "portable way to call do_signal()". do_signal is magic and this allows all sorts of great optimizations and simplifications, please don't add any constraints or complexity to it. - 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/