Subject: CVS commit: src/libexec/ld.elf_so
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 12/26/2007 21:14:41
Module Name:	src
Committed By:	christos
Date:		Wed Dec 26 21:14:41 UTC 2007

Modified Files:
	src/libexec/ld.elf_so: headers.c

Log Message:
Deal with ASLR PIE executables, by recognizing that phdr != phdr->v_addr
for PT_PHDR headers when the program has been loader to a vaddr other than
then one specified (a randomized one), and modifying the relocation base
address appropriately (idea from elad)


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/libexec/ld.elf_so/headers.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.