[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `exec shield' test in configure too strict?
From: |
Richard Stallman |
Subject: |
Re: `exec shield' test in configure too strict? |
Date: |
Tue, 12 Oct 2004 04:56:54 -0400 |
> Another idea: can `main' contain code to move its heap address to the
> desired place, at startup?
No, as the desired place is not a mapped memory region, you can not write
there.
How about mapping a memory region at the desired place, then
putting the heap address there?
I think this is the most reliable solution, since it doesn't
depend on testing the configuration in advance. It will always
be there when it is needed.
But we could do as described by Camm Maguire, check if the heap is not
at the correct place at temacs startup, and if it is not, call
personality(LINUX32) and exec() temacs again.
That also seems like a good method, perhaps better. It would require
testing whether the symbols pertaining to personalites are developed,
but that is a test done by compilation, so it should be unproblematical.
- Re: `exec shield' test in configure too strict?, (continued)
- Re: `exec shield' test in configure too strict?, Eli Zaretskii, 2004/10/06
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/06
- Re: `exec shield' test in configure too strict?, Camm Maguire, 2004/10/07
- Re: `exec shield' test in configure too strict?, Richard Stallman, 2004/10/07
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/07
- Re: `exec shield' test in configure too strict?, Richard Stallman, 2004/10/08
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/11
- Re: `exec shield' test in configure too strict?,
Richard Stallman <=
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/20
- Re: `exec shield' test in configure too strict?, Richard Stallman, 2004/10/21
- Re: `exec shield' test in configure too strict?, Camm Maguire, 2004/10/22
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/25
- Re: `exec shield' test in configure too strict?, Camm Maguire, 2004/10/26
- Re: `exec shield' test in configure too strict?, Richard Stallman, 2004/10/27
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/27
Re: `exec shield' test in configure too strict?, Richard Stallman, 2004/10/05