Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 21:42:13 -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:  <200209040442.g844gDJH063628@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2002/09/03 21:42:13 PDT

  Modified files:
    sys/kern             imgact_elf.c 
  Log:
  Alright, fix the problems with the elf loader for the Alpha.  It turns
  out that there is no easy way to discern the difference between a text
  segment and a data segment through the read-only OR execute attribute
  in the elf segment header, so revert the algorithm to what it was before.
  
  Neither can we account for multiple data load segments in the vmspace
  structure (at least not without more work), due to assumptions obreak()
  makes in regards to the data start and data size fields.
  
  Retain RLIMIT_VMEM checking by using a local variable to track the
  total bytes of data being loaded.
  
  Reviewed by:    peter
  X-MFC after:    ASAP
  
  Revision  Changes    Path
  1.126     +18 -8     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?200209040442.g844gDJH063628>