From owner-freebsd-current Mon Jan 27 05:55:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA06803 for current-outgoing; Mon, 27 Jan 1997 05:55:33 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA06795 for ; Mon, 27 Jan 1997 05:55:30 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id AAA03789; Tue, 28 Jan 1997 00:23:59 +1030 (CST) From: Michael Smith Message-Id: <199701271353.AAA03789@genesis.atrad.adelaide.edu.au> Subject: Re: exec bug In-Reply-To: <199701261336.FAA06928@root.com> from David Greenman at "Jan 26, 97 05:36:03 am" To: dg@root.com Date: Tue, 28 Jan 1997 00:23:58 +1030 (CST) Cc: luigi@labinfo.iet.unipi.it, swallace@ece.uci.edu, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk David Greenman stands accused of saying: > > ...and just how do you tell the exec code that a page fault that occured > while it was accessing the image header was "fatal"? The only mechanism we > have for this is signals, and that doesn't work when you're executing in the > kernel like this. Fault the page before the *_imgact() routine is called. Better still, advertise a function for faulting an address in (if it isn't already), and reporting success/failure of the fault. Then kernel routines that rely on mapped data can safely fault it in before trusting it to be there. > David Greenman -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[