From owner-cvs-all Sun Sep 1 21:51: 3 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD2DA37B400; Sun, 1 Sep 2002 21:50:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F04743E3B; Sun, 1 Sep 2002 21:50:58 -0700 (PDT) (envelope-from jake@FreeBSD.org) Received: from freefall.freebsd.org (jake@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g824owJU041908; Sun, 1 Sep 2002 21:50:58 -0700 (PDT) (envelope-from jake@freefall.freebsd.org) Received: (from jake@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g824owan041907; Sun, 1 Sep 2002 21:50:58 -0700 (PDT) Message-Id: <200209020450.g824owan041907@freefall.freebsd.org> From: Jake Burkholder Date: Sun, 1 Sep 2002 21:50:58 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern imgact_elf.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jake 2002/09/01 21:50:58 PDT Modified files: sys/kern imgact_elf.c Log: Moved elf brand identification into a function. Fully identify the brand early in the process of loading an elf file, so that we can identify the sysentvec, and so that we do not continue if we do not have a brand (and thus a sysentvec). Use the values in the sysentvec for the page size and vm ranges unconditionally, since they are all filled in now. Revision Changes Path 1.123 +75 -105 src/sys/kern/imgact_elf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message