Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 1998 21:48:01 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/sys exec.h imgact.h src/sys/i386/i386 machdep.c src/sys/kern kern_exec.c imgact_elf.c
Message-ID:  <199803020548.VAA06277@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       1998/03/01 21:48:00 PST

  Modified files:
    sys/sys              exec.h imgact.h 
    sys/i386/i386        machdep.c 
    sys/kern             kern_exec.c imgact_elf.c 
  Log:
  Update the ELF image activator to use some of the exec resources rather
  than rolling it's own.  This means that it now uses the "safe"
  exec_map_first_page() to get the ld.so headers rather than risking a panic
  on a page fault failure (eg: NFS server goes down).
  Since all the ELF tools go to a lot of trouble to make sure everything
  lives in the first page for executables, this is a win.  I have not seen
  any ELF executable on any system where all the headers didn't fit in the
  first page with lots of room to spare.
  I have been running variations of this code for some time on my pure ELF
  systems.
  
  Revision  Changes    Path
  1.18      +8 -1      src/sys/sys/exec.h
  1.17      +2 -1      src/sys/sys/imgact.h
  1.290     +2 -2      src/sys/i386/i386/machdep.c
  1.79      +2 -7      src/sys/kern/kern_exec.c
  1.22      +49 -150   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?199803020548.VAA06277>