From owner-freebsd-current Wed Sep 2 17:20:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA05864 for freebsd-current-outgoing; Wed, 2 Sep 1998 17:20:48 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA05856 for ; Wed, 2 Sep 1998 17:20:44 -0700 (PDT) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id RAA00628; Wed, 2 Sep 1998 17:19:41 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp04.primenet.com, id smtpd000590; Wed Sep 2 17:19:37 1998 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id RAA29265; Wed, 2 Sep 1998 17:19:29 -0700 (MST) From: Terry Lambert Message-Id: <199809030019.RAA29265@usr07.primenet.com> Subject: Re: ELF binaries size To: joelh@gnu.org Date: Thu, 3 Sep 1998 00:19:29 +0000 (GMT) Cc: tlambert@primenet.com, jdp@polstra.com, bde@zeta.org.au, reilly@zeta.org.au, current@FreeBSD.ORG In-Reply-To: <199809022254.RAA06402@detlev.UUCP> from "Joel Ray Holveck" at Sep 2, 98 05:54:06 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> Also, how does it enhance security to prevent a program from reading > >> its own text segment? If a program doesn't want to read its text > >> segment then it should simply ... not read it. :-) > > Good reason to not use an Intel processor... > > Consider the case of a program of permission --x--x--x... > > This "security through obscurity" is bogus, in any case. > > But then how do you use static strings? You put them in a read-only ELF *DATA* section, where they belong, instead of where GCC puts them, of course. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message