Re: copy_from_user() fixu

Richard Gooch (rgooch@atnf.csiro.au)
Tue, 25 Aug 1998 17:30:48 +1000


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.
>
> I don't know what POSIX says, but would like to know.

I checked my POSIX book this morning and it doesn't mention
EFAULT. However, if Unix98 mentions it, we should support it as the
default.

Regards,

Richard....

-
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