From: Elias Athanasopoulos <eathan@otenet.gr>
To: Glynn Clements <glynn.clements@virgin.net>
Cc: linux-c-programming@vger.kernel.org, Mehran Rezaei <mehran@cs.unt.edu>
Subject: Re: mmap() to a specific address
Date: Tue, 2 Jul 2002 21:42:03 +0300 [thread overview]
Message-ID: <20020702214203.C2129@neutrino.particles.org> (raw)
In-Reply-To: <15648.44039.491676.479663@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Mon, Jul 01, 2002 at 08:22:47PM +0100
Hi Glynn, Mehran,
On Mon, Jul 01, 2002 at 08:22:47PM +0100, Glynn Clements wrote:
> If you specify MAP_FIXED, either the segment will be mapped at the
> specified address, or mmap() will fail.
Thanks for your replies. Actually I have tried MAP_FIXED but it doesn't
help since I want to map a file in a memory area which most probably is
occupied from the running executable. So, it's 100% a redesign issue on
my side. :-)
Just for the record: what I try to do is to run a static elf from user-
land, without using execve() and friends.
Elias
--
http://gnewtellium.sourceforge.net MP3 is not a crime.
next prev parent reply other threads:[~2002-07-02 18:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-01 19:03 mmap() to a specific address Elias Athanasopoulos
2002-07-01 19:22 ` Glynn Clements
2002-07-02 18:42 ` Elias Athanasopoulos [this message]
2002-07-01 19:36 ` Mehran Rezaei
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=20020702214203.C2129@neutrino.particles.org \
--to=eathan@otenet.gr \
--cc=glynn.clements@virgin.net \
--cc=linux-c-programming@vger.kernel.org \
--cc=mehran@cs.unt.edu \
/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).