[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: |
Thu, 07 Oct 2004 12:44:30 -0400 |
Doesn't this harm cross-building Emacs? I always thought that running
a test program at configure time should be avoided, and that tests
that only compile or link programs should be peferred.
Yes, that is true. But maybe there is no way to test this
based on the compilation environment.
When cross compiling the test obviously can not be run, so configure
assumes
that the heap start address is not random. Come to think of it, the old
test (checking /proc/sys/kernel/exec-shield) was worse, as it did not
handle
cross compiling.
That will be right most of the time today, but that may not be
true in the future.
Can we modify unexec to handle this case correctly? What exactly is
it that we now do in the case where we see that exec shield is
enabled? How does that avoid the problem?
- Re: `exec shield' test in configure too strict?, (continued)
- Re: `exec shield' test in configure too strict?, Stefan, 2004/10/05
- Re: `exec shield' test in configure too strict?, Miles Bader, 2004/10/05
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/06
- Re: `exec shield' test in configure too strict?, Miles Bader, 2004/10/06
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/06
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/06
- Re: `exec shield' test in configure too strict?, Stefan Monnier, 2004/10/06
- 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 <=
- 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, 2004/10/12
- 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