On Sun, Aug 21, 2011 at 10:01:40PM -0400, Andrew Lutomirski wrote:

>  3. We're worried that pt_regs-using compat syscalls might want the
> regs to appear to match the actual arguments (why?)

run strace and you'll see why.

>  4. ptrace expects the "registers" when SYSCALL happens to match the
> int 0x80 convention.  (This is, IMO, sick.)

That's what ptrace is *for*.  It's there to let debuggers play with
the program being debugged, including taking a look at the syscall
arguments and modifying them.  In a predictable way, please.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to