linux-mips
[Top] [All Lists]

Re: Question about signal syscalls !

To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Subject: Re: Question about signal syscalls !
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 1 Feb 2007 18:10:28 +0000
Cc: linux-mips <linux-mips@linux-mips.org>
In-reply-to: <cda58cb80702010654w74527a34k4ed229b499b8f9b2@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cda58cb80702010243y4a36026i6945f2a5cd3791d0@mail.gmail.com> <20070201135734.GB12728@linux-mips.org> <cda58cb80702010654w74527a34k4ed229b499b8f9b2@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Thu, Feb 01, 2007 at 03:54:40PM +0100, Franck Bui-Huu wrote:

> Let's take for example sys_sigreturn(). In my understanding this
> syscall is used automatically when the signal handler returns. At this
> time, I don't see the point to save the static registers since they
> have been already saved by setup_sigcontext().
> 
> Actually I don't see why they need to be saved/restored at all...

There is no need.  Seems you found a harmless but longstanding but
introduced by c40738a70f3e02e8554b78af334dc95356a78989.

  Ralf

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