From owner-freebsd-hackers Mon Aug 20 2:22:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 9191A37B41B for ; Mon, 20 Aug 2001 02:22:41 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id B2DAF81D13; Mon, 20 Aug 2001 04:22:40 -0500 (CDT) Date: Mon, 20 Aug 2001 04:22:40 -0500 From: Alfred Perlstein To: Kris Kennaway Cc: Peter Wemm , hackers@FreeBSD.ORG Subject: Re: [PATCH] install -s -s(trip-me-harder) Message-ID: <20010820042240.B81307@elvis.mu.org> References: <20010820001654.A32129@xor.obsecurity.org> <20010820081905.8AE663811@overcee.netplex.com.au> <20010820012435.A35600@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010820012435.A35600@xor.obsecurity.org>; from kris@obsecurity.org on Mon, Aug 20, 2001 at 01:24:35AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Kris Kennaway [010820 03:26] wrote: > On Mon, Aug 20, 2001 at 01:19:05AM -0700, Peter Wemm wrote: > > > Regarding stripping gcc2_compiled.. strip can only filter symbols from > > the .symtab and .symstr symbol tables. Since strip already removes both > > of those sections, the -N gcc2_compiled is useless. strip cannot modify > > the .dynsym/.dynstr in the PT_LOAD sections, so those will stay regardless. > > In all, I think this -R gcc2_compiled. is useless unless you're in -X or > > -D mode (only remove debug symbols etc). > > Are you sure this is true? The binaries I've stripped in this way > don't seem to contain any reference to the symbol. Personally I find that doubling of flag to change behavior breaks POLA unless it's the option for 'verbose'. I can imagine a bunch of scripts that might accidentally add flags to existing flags causing breakage. Sort of like if 'cc -g -g' did something odd to the generated debug symbols. Just my opinion though. -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message