All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@karaya.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] ptrace and system call interception
Date: Tue, 06 Jun 2000 05:08:06 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205120@msgid-missing> (raw)

I'm looking into porting the user-mode kernel port (see 
http://user-mode-linux.sourceforge.net) to IA64.  This depends heavily on 
ptrace's system call interception and modification abilities.

I need to be able to annull system calls by changing the system call number (I 
use __NR_getpid).  My reading of entry.S, and running some test code, says 
that this doesn't work.  Can this be added without too much difficulty?  If 
so, can sourceforge (or intel - whoever owns the protos available through 
sourceforge) be persuaded to update without too much difficulty :-)

Another thing that's not obvious is where the system call arguments are 
stored.  I can locate the system call number (PT_R15) and its return value 
(PT_R8) without too much difficulty, but I don't see the arguments.

				Thanks, Jeff





                 reply	other threads:[~2000-06-06  5:08 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-105590678205120@msgid-missing \
    --to=jdike@karaya.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.