Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 1997 17:48:48 +0100
From:      Poul-Henning Kamp <phk@critter.dk.tfs.com>
To:        dg@root.com
Cc:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>, swallace@ece.uci.edu, current@FreeBSD.ORG
Subject:   Re: exec bug 
Message-ID:  <7583.854297328@critter.dk.tfs.com>
In-Reply-To: Your message of "Sun, 26 Jan 1997 05:36:03 PST." <199701261336.FAA06928@root.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199701261336.FAA06928@root.com>, David Greenman writes:

>   ...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.

Wouldn't it make sense for the image activator to do a couple of probes
first to see that the data is actually available ?  that way it could
fail intelligently ?

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@tfs.com           TRW Financial Systems, Inc.
Power and ignorance is a disgusting cocktail.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7583.854297328>