[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `exec shield' test in configure too strict?
From: |
Camm Maguire |
Subject: |
Re: `exec shield' test in configure too strict? |
Date: |
07 Oct 2004 11:44:48 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings!
"Jan D." <address@hidden> writes:
> >> I have checked in a test that runs a program and sees if the heap
> >> start
> >> address is random.
> >
> > 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.
>
> 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.
>
GCL also checks for a randomized sbrk a configure time, and builds
into main a personality switch followed by a re-exec to work around
the fedora security issues. I'm hoping this avenue won't be going
away soon, as I feel there are benefits to the current sbrk-expanding
contiguous heap design of these systems.
Don't know if there is any answer to the cross-compiling.
Take care,
> Jan D.
>
>
>
> _______________________________________________
> Emacs-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-devel
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- Re: `exec shield' test in configure too strict?, (continued)
- Re: `exec shield' test in configure too strict?, Jan D., 2004/10/05
- 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 <=
- 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, 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