Re: linking a program to a specific memory area
From: Christian Hatt Jensen (u030333_at_daimi.au.dk)
Date: 04/20/05
- Next message: Lee Sau Dan: "Re: Simplest C++ Line Drawing"
- Previous message: Roger Leigh: "Re: linking a program to a specific memory area"
- In reply to: Roger Leigh: "Re: linking a program to a specific memory area"
- Next in thread: Paul Pluzhnikov: "Re: linking a program to a specific memory area"
- Reply: Paul Pluzhnikov: "Re: linking a program to a specific memory area"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 20 Apr 2005 15:53:31 +0200
Roger Leigh wrote:
> On 2005-04-20, Christian Hatt Jensen <u030333@daimi.au.dk> wrote:
>
>
>>I wish to link my program to a non standard memory area, so execve()
>>won't overwrite it.
>
>
> execve() replaces the entire process' VM, so it's not possible: all
> user-accessible addresses are gone after execve() completes, by
> which time another program is now running.
>
> What are you trying to achieve?
>
>
Hi
I am trying to load my progrm into a low part of the virtual memory, so
i can load a noter program into the normal part and execute it in a thread.
Your right i can't use execve() so i will have to find a nother of
loading the program, and running it, but i still need to relocate my
program into the lower part of the virtual memory.
- Next message: Lee Sau Dan: "Re: Simplest C++ Line Drawing"
- Previous message: Roger Leigh: "Re: linking a program to a specific memory area"
- In reply to: Roger Leigh: "Re: linking a program to a specific memory area"
- Next in thread: Paul Pluzhnikov: "Re: linking a program to a specific memory area"
- Reply: Paul Pluzhnikov: "Re: linking a program to a specific memory area"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|