LWN.net Logo

Re: prelink: is it worth it?

From:  Jakub Jelinek <jakub-AT-redhat.com>
To:  yersinia <yersinia.spiros-AT-gmail.com>
Subject:  Re: prelink: is it worth it?
Date:  Sat, 11 Jul 2009 00:26:24 +0200
Message-ID:  <20090710222622.GB4462@tyan-ft48-01.lab.bos.redhat.com>
Cc:  Development discussions related to Fedora <fedora-devel-list-AT-redhat.com>
Archive-link:  Article, Thread

On Fri, Jul 10, 2009 at 11:29:43PM +0200, yersinia wrote:
> Ok. But prelink it or not a requisite for ASLR or not ? In other word,
> besides performance
> is disabling prelink a security matter or not ? It is not bad to have some
> answer on this.

ASLR happens with prelink or without.  Particularly, PIEs (should be used
for most of suid/network facing or otherwise security exposed programs) are
always randomized, both the binary itself and all shared libraries it uses.

Other than that, on prelinked system libraries are assigned random addresses
whenever reprelinked, while when not prelinked, libraries are given random
addresses on every exec.  Non-PIE binaries have always fixed address.

	Jakub

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list



(Log in to post comments)

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds