Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 1998 00:19:29 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        joelh@gnu.org
Cc:        tlambert@primenet.com, jdp@polstra.com, bde@zeta.org.au, reilly@zeta.org.au, current@FreeBSD.ORG
Subject:   Re: ELF binaries size
Message-ID:  <199809030019.RAA29265@usr07.primenet.com>
In-Reply-To: <199809022254.RAA06402@detlev.UUCP> from "Joel Ray Holveck" at Sep 2, 98 05:54:06 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809030019.RAA29265>