Re: Current utrace breaks UML

From: Roland McGrath
Date: Fri May 25 2007 - 21:35:45 EST


> UML, obviously. Below is a smaller test. orig_eax is wrong, so you
> can't read the system call number from the process.

Oops! I overlooked the need to preserve the orig_eax value, though its
necessity is obvious. This makes me wonder about those previous
reports that UML was working OK.

I refined the test case a little and that's in
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=241408

I've fixed this in the latest utrace patch set. I also wired up
sysemu on x86_64. This means 32-bit processes calling ptrace now
support it for full compatibility with native i386, which the vanilla
kernel does not. It also means it works for 64-bit ptrace calls,
whether operating on a 64-bit or a 32-bit target process.


Thanks,
Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/