Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2002 10:38:47 -0700 (PDT)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern imgact_elf.c
Message-ID:  <200209091738.g89Hclvv045023@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2002/09/09 10:38:47 PDT

  Modified files:        (Branch: RELENG_4)
    sys/kern             imgact_elf.c 
  Log:
  MFC partial reversion of previous commit, based on problems reported by
  Alpha users and a long discussion with Peter Wemm.  The jist of it is
  that we can't trust any of the elf flags to determine what is data and
  what is text so we use the old 'entry point in segment' method to
  detect text vs data, and we can't calculate the actual data_size for
  vmspace because break() depends on data_start + data_size pointing to
  the end of the address space, so we use the last data segment (as before).
  However, we were able to retain partial checking for RLIMIT_TEXT,
  RLIMIT_DATA, and full checking for RLIMIT_VMEM.
  
  Approved by:    re
  
  Revision   Changes    Path
  1.73.2.11  +24 -18    src/sys/kern/imgact_elf.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?200209091738.g89Hclvv045023>