[Top] [All Lists]

Re: Question about signal syscalls !

To: David Daney <>
Subject: Re: Question about signal syscalls !
From: Daniel Jacobowitz <>
Date: Sun, 4 Feb 2007 19:55:16 -0500
Cc: Franck Bui-Huu <>, Ralf Baechle <>, linux-mips <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <>
User-agent: Mutt/1.5.13 (2006-08-11)
On Fri, Feb 02, 2007 at 12:41:07PM -0800, David Daney wrote:
> I thought you were suggesting not saving s0-s7.  If you don't save them, 
> you cannot restore them.  And they have to be restored from the 
> sigcontext in the user's address space.   This allows user space signal 
> handlers to emulate trapping instructions, and the like.

Not necessarily, because you can trust the signal handler to restore
them, and it can save them itself if it needs to.  As I said, I think
there's at least one architecture which does it this way.  I'm afraid I
don't know which one.

Daniel Jacobowitz

<Prev in Thread] Current Thread [Next in Thread>