PERFORCE change 156620 for review
Robert Watson
rwatson at FreeBSD.org
Sat Jan 24 12:11:40 PST 2009
http://perforce.freebsd.org/chv.cgi?CH=156620
Change 156620 by rwatson at rwatson_freebsd_capabilities on 2009/01/24 20:11:00
Set the starting address for ld-elf-cap.so.1 to 0x04000000 so
that fexecve(2) on it will map it in a useful place for running
(i.e., not 0x00000000) but not at an address that collides with
the dynamic binary that ld-elf-cap.so will be doing runtime
linking for.
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/rtld-elf-cap.xs#2 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/rtld-elf-cap.xs#2 (text+ko) ====
@@ -9,7 +9,7 @@
SECTIONS
{
/* Read-only sections, merged into text segment: */
- . = 0 + SIZEOF_HEADERS;
+ . = 0x04000000 + SIZEOF_HEADERS;
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }
More information about the p4-projects
mailing list