Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 1999 23:49:29 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/vm vm_unix.c
Message-ID:  <199902050749.XAA35519@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <alc@cs.rice.edu>
  
  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



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