From owner-cvs-all Thu Feb 4 23:49:30 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11174 for cvs-all-outgoing; Thu, 4 Feb 1999 23:49:30 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11169; Thu, 4 Feb 1999 23:49:29 -0800 (PST) (envelope-from dillon@FreeBSD.org) From: Matt Dillon Received: (from dillon@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id XAA35519; Thu, 4 Feb 1999 23:49:29 -0800 (PST) (envelope-from dillon@FreeBSD.org) Date: Thu, 4 Feb 1999 23:49:29 -0800 (PST) Message-Id: <199902050749.XAA35519@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/vm vm_unix.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1999/02/04 23:49:29 PST Modified files: sys/vm vm_unix.c Log: The elf loader sets the permissions on bss to VM_PROT_READ|VM_PROT_WRITE rather then VM_PROT_ALL. obreak, on the otherhand, uses VM_PROT_ALL. This prevents vm_map_insert() from being able to coalesce the heap and creates an extra map entry. Since current architectures ignore VM_PROT_EXECUTE anyway, and since not having VM_PROT_EXECUTE on data/bss may provide protection in the future, obreak now uses read+write rather then all (r+w+x). This is an optimization, not a bug fix. Submitted by: Alan Cox Revision Changes Path 1.18 +2 -2 src/sys/vm/vm_unix.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message