From owner-cvs-all Sun Mar 1 21:49:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA14795 for cvs-all-outgoing; Sun, 1 Mar 1998 21:49:03 -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 VAA14789; Sun, 1 Mar 1998 21:49:02 -0800 (PST) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA06277; Sun, 1 Mar 1998 21:48:01 -0800 (PST) Date: Sun, 1 Mar 1998 21:48:01 -0800 (PST) Message-Id: <199803020548.VAA06277@freefall.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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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