Re: [Qemu-devel] [PATCH] execve syscall fix

2007-11-29 Thread Kirill A. Shutemov
On [Thu, 29.11.2007 22:42], Magnus Damm wrote: > Hi everyone, > > The execve syscall currently fails on sh4 with -EFAULT. I tracked it > down to what looks like a generic problem. This patch makes sure that > the two variables "guest_argp" and "guest_envp" are set to "arg2" and > "arg3" instead of

Re: [Qemu-devel] [PATCH] execve syscall fix

2007-11-29 Thread Kirill A. Shutemov
On [Thu, 29.11.2007 22:42], Magnus Damm wrote: > Hi everyone, > > The execve syscall currently fails on sh4 with -EFAULT. I tracked it > down to what looks like a generic problem. This patch makes sure that > the two variables "guest_argp" and "guest_envp" are set to "arg2" and > "arg3" instead of

[Qemu-devel] [PATCH] execve syscall fix

2007-11-29 Thread Magnus Damm
Hi everyone, The execve syscall currently fails on sh4 with -EFAULT. I tracked it down to what looks like a generic problem. This patch makes sure that the two variables "guest_argp" and "guest_envp" are set to "arg2" and "arg3" instead of the old NULL values from previous get_user_ual() calls. E