Re: copy_from_user() fixu

Albert D. Cahalan (acahalan@cs.uml.edu)
Tue, 25 Aug 1998 06:31:36 -0400 (EDT)


Chris Wedgwood writes:
> On Tue, Aug 25, 1998 at 12:24:17AM -0700, H. Peter Anvin wrote:

>> All I'm saying is that if you're relying on EFAULT rather than
>> SIGSEGV or vice versa, your code is completely, utterly, and
>> fundamentally broken.
>
> If I have a spec. (Unix98) that says when I do blah with blem I can
> expect EFAULT, then I don't see why I can't expect this.

You can have both at the same time. Ignore signal 11 if you wish.
Signal 11 by default would help us kill bugs everywhere.

For the library, just let the signal 11 happen. Don't try to
mess with it. The app gets what it deserves, the same as with
any normal library.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html