linux-mips
[Top] [All Lists]

Re: Question about signal syscalls !

To: "Daniel Jacobowitz" <dan@debian.org>
Subject: Re: Question about signal syscalls !
From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
Date: Mon, 5 Feb 2007 10:17:24 +0100
Cc: "Ralf Baechle" <ralf@linux-mips.org>, "David Daney" <ddaney@avtrex.com>, linux-mips <linux-mips@linux-mips.org>
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ak7dU5kNPSpeOXrsesvrNkmvqbP9XZzUNuyciDldtNxOR257nTwE5cD3hzBKFOUA3sjDtQVfqi25q0/M6Fyc4klahot6D6RhF0Qg5UiFjNLF2YBxx5sUCIAaHNGIj9E2lQcY9yBcqwDUaQBQCuk3f+/NuvghtTImPcZYCBpK8sw=
In-reply-to: <20070205023039.GA5438@nevyn.them.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cda58cb80702010654w74527a34k4ed229b499b8f9b2@mail.gmail.com> <cda58cb80702020055t6eb2578fn5d1e4370e9ebda08@mail.gmail.com> <45C3611D.7000702@avtrex.com> <cda58cb80702020836t54ab54bam1b83dd7c1dacb4d8@mail.gmail.com> <45C36D46.5040409@avtrex.com> <cda58cb80702021158n42bdb5fbi6cca4f2c8dff6782@mail.gmail.com> <45C3A1E3.8010802@avtrex.com> <20070205005516.GA1581@nevyn.them.org> <20070205011048.GA26654@linux-mips.org> <20070205023039.GA5438@nevyn.them.org>
Sender: linux-mips-bounce@linux-mips.org
On 2/5/07, Daniel Jacobowitz <dan@debian.org> wrote:
I'm sure that, if we tried, we could get GDB to work.  Every time this
comes up I just worry about other things that we don't know about which
use the saved information.  These structures are just in too many
places to change comfortably.


It seems pretty dangerous if some tools use this saved hw context.
Because if the signal handler is handled during a return from a system
call (not from interrupt) then most information in the saved
information are random...

Well maybe we could just make a new version sig context functions
which does not save/restore static registers and make it an disabled
by default. That would let some people to play with and to see if it
break some user tools ?

--
              Franck

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