qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] RFC: [0/11] EFAULT patch


From: Stuart Anderson
Subject: Re: [Qemu-devel] RFC: [0/11] EFAULT patch
Date: Wed, 19 Sep 2007 16:44:10 -0400 (EDT)

On Wed, 19 Sep 2007, Paul Brook wrote:

No. We're doing more than most 32-64 syscall thunks. To a first approximation
the syscall thunks can bindly zero extend all values. In qemu we need to know
whether something is a pointer or a value.

Isn't that was the code in do_syscall() does? or am I looking at something
in the wrong way?

Kernel and userspace addresses are not interchangeable in the kernel. Any
place that does so is probably a bug.

I said co-exist, not interchangeable. My point was that the 32-on-64
code didn't do any explicit mapping of pointers passed to it other than
the normal API.

I'm having trouble determining how you would like for things to be. Could
you maybe provide a small sample of how all of this should work, and then
I can probably see what I'm not quite getting.


                                Stuart

Stuart R. Anderson                               address@hidden
Network & Software Engineering                   http://www.netsweng.com/
1024D/37A79149:                                  0791 D3B8 9A4C 2CDC A31F
                                                 BD03 0A62 E534 37A7 9149




reply via email to

[Prev in Thread] Current Thread [Next in Thread]