From: Jeff Dike <jdike@karaya.com>
To: bruce@cs.usyd.edu.au (Bruce Janson)
Cc: linux-kernel@vger.kernel.org
Subject: Re: the fault address of a traced process
Date: Sun, 30 Sep 2001 19:53:17 -0500 [thread overview]
Message-ID: <200110010053.TAA03739@ccure.karaya.com> (raw)
In-Reply-To: Your message of "Sun, 30 Sep 2001 22:47:06 +1100." <20010930125931Z273463-760+18683@vger.kernel.org>
bruce@cs.usyd.edu.au said:
> The tracer now wants to determine the traced process' faulted address.
> According to the (2.2.19) kernel source
[snip]
> How should a tracer extract this information under a current (2.2.*,
> 2.4.*) Linux?
Read some more UML source, specifically,
segv_handler() in arch/um/kernel/trap_user.c and also the i386 definitions
in arch/um/include/sysdep-i386/sigcontext.h
Basically, you are passed the necessary information in a sigcontext struct.
Jeff
prev parent reply other threads:[~2001-09-30 23:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-30 11:47 Bruce Janson
2001-10-01 0:53 ` Jeff Dike [this message]
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=200110010053.TAA03739@ccure.karaya.com \
--to=jdike@karaya.com \
--cc=bruce@cs.usyd.edu.au \
--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®