From: "Trent Waddington" <trent.waddington@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Portable syscall inspection
Date: Tue, 29 May 2007 08:59:37 +1000 [thread overview]
Message-ID: <3d57814d0705281559y56576567r2c23edda5f22c3cf@mail.gmail.com> (raw)
Someone finally noticed that my program that uses ptrace only works on i386..
and, by the looks of it, there is no portable way to refer to the
registers of a
user_regs_struct when inspecting a system call.
I will probably end up making a header file for each architecture that
defines where
in the user_regs_struct things like the syscall number, the return
value and the first 3 parameters are..
has anyone done this already? or can otherwise save me a lot of time?
Thanks,
Trent
next reply other threads:[~2007-05-28 22:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-28 22:59 Trent Waddington [this message]
2007-05-29 12:35 ` Ralf Baechle
2007-05-31 10:27 ` Trent Waddington
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=3d57814d0705281559y56576567r2c23edda5f22c3cf@mail.gmail.com \
--to=trent.waddington@gmail.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®