From owner-p4-projects@FreeBSD.ORG Sat Jan 24 20:11:39 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5B3111065677; Sat, 24 Jan 2009 20:11:39 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C29D1065675 for ; Sat, 24 Jan 2009 20:11:39 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 08B598FC12 for ; Sat, 24 Jan 2009 20:11:39 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0OKBcCL054960 for ; Sat, 24 Jan 2009 20:11:38 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0OKBc78054958 for perforce@freebsd.org; Sat, 24 Jan 2009 20:11:38 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 24 Jan 2009 20:11:38 GMT Message-Id: <200901242011.n0OKBc78054958@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 156620 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2009 20:11:40 -0000 http://perforce.freebsd.org/chv.cgi?CH=156620 Change 156620 by rwatson@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) }