From: John Kacur <jkacur@home.com>
To: linux-kernel@vger.kernel.org
Subject: sigcontext on Linux-ppc in user space
Date: Tue, 23 Jan 2001 19:56:14 -0500 [thread overview]
Message-ID: <3A6E282E.89053126@home.com> (raw)
Does anyone know how to get at the struct sigcontext in a signal handler
on Linux for powerpc? sigaction of course lets you create a signal
handler as a function with the prototype void(*)(int, siginfo_t *, void
*)
where the last argument, a pointer to void, is the sigcontext. I believe
that the last argument is NOT defined by POSIX and so is implementation
dependent.
On Intel it seems sufficient to use #include <asm/sigcontext.h>
to get the definition of struct sigcontext, and then get the values
you'd like out of the signal handler. But on Linux for powerpc, the same
thing doesn't work. Does anyone know what the trick is here to
accomplish this?
Thanks in advance
John Kacur
jkacur@home.com
jekacur@ca.ibm.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-01-23 23:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-24 0:56 John Kacur [this message]
2001-01-24 7:02 ` Andreas Jaeger
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=3A6E282E.89053126@home.com \
--to=jkacur@home.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®