Comment 23 for bug 1673976

Revision history for this message
Éric Hoffman (ehoffman-videotron) wrote :

Ok, I taught that could be an issue, but as I said, I don't really know all the internals of QEMU.

Another idea would be to fork the child, without CLONE_VM, on the initial call to the clone syscall, like it's done right now, and then wait for that child until he call execve or exit syscall. Maybe using some shared memory or IPC to pass the relevant status when the child finally invoke those syscalls.

When the child finally call one of those, then after signalling the parent about where it is (and the params to the syscall), the child could exit and the parent actually take action.

Regards,
Eric