/* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so
we allocate a bigger stack. Need a better solution, for example
@@ -3828,6 +3829,11 @@ static void handle_arg_guest_base(const char *arg)
- have_guest_base = 1;
+ have_guest_base = true;
}
+static void handle_arg_execve(const char *arg)
+ return get_errno(safe_execve(qemu_execve_path, new_argp, envp));
+}
+
- /* do_syscall() should always have a single exit point at the end so
- that actions, such as logging of syscall results, can be performed.
- All errnos that do_syscall() returns must be -TARGET_<errcode>. */
+ static int target_to_host_cpu_mask(unsigned long *host_mask,
+ size_t host_size,
+ abi_ulong target_addr,
@@ -8257,7 +8257,12 @@
* before the execve completes and makes it the other
* program's problem.