[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87irdrbry6.wl@betelheise.deep.net>
Date: Sat, 24 Feb 2007 16:33:53 +0300
From: Samium Gromoff <_deepfire@...lingofgreen.ru>
To: Florian Weimer <fw@...eb.enyo.de>
Cc: Samium Gromoff <_deepfire@...lingofgreen.ru>,
Kyle Moffett <mrmacman_g4@....com>,
David Wagner <daw-usenet@...erner.cs.berkeley.edu>,
LKML Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Undo some of the pseudo-security madness
At Sat, 24 Feb 2007 10:40:51 +0100,
Florian Weimer wrote:
>
> * Samium Gromoff:
>
> > Lisp environments can produce standalone executables
>
> If you've got a stand-alone executable, you don't need MAP_FIXED. The
> ELF loader maps the program at a fixed address anyway (at least on
> i386 and x86_64, I haven't checked others).
Not so.
The thing is that the picture is of two pieces:
- the executable
- the unrelocatable lisp core (which is unrelocatable by the virtue
of non-PIC code) which is mapped into the AS of the executable.
It is the latter which breaks, as its map can overlap with randomized
pieces of the executable (along with its libraries).
> AFAIK, PolyML has recently made the switch to stand-alone executables
> for this reason.
regards, Samium Gromoff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists