From: Mulyadi Santosa <mulyadi.santosa@gmail.com>
To: Toni <tonygio04@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Qemu user space on linux
Date: Wed, 26 Aug 2009 14:54:52 +0700 [thread overview]
Message-ID: <f284c33d0908260054h2f2ac0bblf6105967bda767e8@mail.gmail.com> (raw)
In-Reply-To: <526ddcfc0908251750y232f71e1u481527c591ab50c8@mail.gmail.com>
On Wed, Aug 26, 2009 at 7:50 AM, Toni<tonygio04@gmail.com> 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.
--
regards,
Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com
prev parent reply other threads:[~2009-08-26 7:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-26 0:50 [Qemu-devel] Qemu user space on linux Toni
2009-08-26 7:54 ` Mulyadi Santosa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f284c33d0908260054h2f2ac0bblf6105967bda767e8@mail.gmail.com \
--to=mulyadi.santosa@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=tonygio04@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).