From: Jeff Dike <jdike@addtoit.com>
To: blaisorblade@yahoo.it
Cc: user-mode-linux-devel@lists.sourceforge.net, gogi@gogi.tv
Subject: [uml-devel] Another stub bug
Date: Mon, 31 Oct 2005 13:57:58 -0500 [thread overview]
Message-ID: <20051031185758.GA7116@ccure.user-mode-linux.org> (raw)
I just saw another case where the stubs are being badly assembled. This cases
involves the address of from being referred relative to ebp. After the
call to syscall6, ebp is trash because, even though we carefully push and
pop it, we pop it from a brand new page.
This interaction between mmap and syscall6 suggests that this is the
wrong interface. It looks more like we should have stub_remap_stack
instead of stub_syscall6, and similar things for the others. Even so,
it's not clear to me how to deal with this. We are out of registers,
so we could possibly store ebp in esp, restore it after the mmap, and
set esp to a fixed value.
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
reply other threads:[~2005-10-31 18:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20051031185758.GA7116@ccure.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=blaisorblade@yahoo.it \
--cc=gogi@gogi.tv \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.