From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: sigtramp bug-fix (applies to 2.4 and 2.6)
Date: Wed, 26 Nov 2003 23:21:07 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106988919920591@msgid-missing> (raw)
Laurent Morichetti found a bug in the signal trampoline for which I
just checked in a fix. The problem was that the trampoline was using
a scratch predicate-register in an unwind-directive. This was wrong,
because the routine isn't a leaf and that scratch register may get
clobbered by the signal handler. To work around the problem, simply
switch from using p8 to p1 (that's fine because "pr" is already
saved/restored by the kernel).
For details, see this URL:
http://lia64.bkbits.net:8080/to-linus-2.5/cset@1.1497
Bjorn, could you apply this patch for 2.4 as well? If it doesn't
apply, let me know (it should be very close though, apart from a large
fuzz).
BTW: If someone were working on an unwind-info validation tool, that
sure would be useful!
--david
reply other threads:[~2003-11-26 23:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-106988919920591@msgid-missing \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox