From owner-freebsd-current Thu Sep 3 17:46:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA28372 for freebsd-current-outgoing; Thu, 3 Sep 1998 17:46:47 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.camalott.com (mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA28367 for ; Thu, 3 Sep 1998 17:46:46 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-97.camalott.com [208.229.74.97]) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id TAA05542; Thu, 3 Sep 1998 19:46:25 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id TAA13034; Thu, 3 Sep 1998 19:44:29 -0500 (CDT) (envelope-from joelh) Date: Thu, 3 Sep 1998 19:44:29 -0500 (CDT) Message-Id: <199809040044.TAA13034@detlev.UUCP> To: tlambert@primenet.com CC: tlambert@primenet.com, eivind@yes.no, bde@zeta.org.au, current@FreeBSD.ORG In-reply-to: <199809030753.AAA23003@usr07.primenet.com> (message from Terry Lambert on Thu, 3 Sep 1998 07:53:56 +0000 (GMT)) Subject: Re: ELF binaries size From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199809030753.AAA23003@usr07.primenet.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>> For a system to be secure, you must not permit code to be >>> written to by the process, only data. >> Why? > To prevent stack-overflow from resulting in executable code. Even though a stack overflow (sic) could result in returning to mmap with args to load whatever executable code you wanted? Best, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message