All of lore.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] ptrace and system call interception
@ 2000-06-06  5:08 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2000-06-06  5:08 UTC (permalink / raw)
  To: linux-ia64

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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-06  5:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-06  5:08 [Linux-ia64] ptrace and system call interception Jeff Dike

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.