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.

Execve now works as expected on sh4 with this fix. Please apply.

/ magnus

Attachment: qemu-cvs-20071129-execve-fix.patch
Description: Binary data

Reply via email to