[Top][All Lists]

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

Re: [Qemu-devel] Qemu user space on linux

From: Mulyadi Santosa
Subject: Re: [Qemu-devel] Qemu user space on linux
Date: Wed, 26 Aug 2009 14:54:52 +0700

On Wed, Aug 26, 2009 at 7:50 AM, Toni<address@hidden> wrote:
> I found that in qemu user space on linux (qemu-i386), if you execute an
> executable that contains an "execve" this is execute into qemu-i386
> replacing it.
> See "linux-user/syscall.c" around line 4360. How it is possible to fix this
> bug?
> Antonio

Could you precisely tell what you see? I did this in qemu linux user
for i386 (version 0.10.5):
$  /usr/local/qemu/bin/qemu-i386 -strace ./myexecve /bin/ls

4 last lines showed:
20693 execve("/bin/ls",{"/bin/ls","-l","-s",NULL})total 16
8 -rwxrwxr-x 1 mulyadi mulyadi 5320 Aug 26 14:41 myexecve
4 -rw-rw-r-- 1 mulyadi mulyadi  428 Aug 26 14:41 myexecve.c
4 -rw-rw-r-- 1 mulyadi mulyadi  622 Aug 26 14:39 myexecve.c~

As you can see, it is executing /bin/ls, not qemu-i386.


Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com

reply via email to

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