Date: Tue, 28 Jan 1997 00:23:58 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: dg@root.com Cc: luigi@labinfo.iet.unipi.it, swallace@ece.uci.edu, current@FreeBSD.ORG Subject: Re: exec bug Message-ID: <199701271353.AAA03789@genesis.atrad.adelaide.edu.au> In-Reply-To: <199701261336.FAA06928@root.com> from David Greenman at "Jan 26, 97 05:36:03 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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 [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701271353.AAA03789>