Re: copy_from_user() fixu

H. Peter Anvin (hpa@transmeta.com)
Tue, 25 Aug 1998 00:30:40 -0700 (PDT)


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

POSIX says that if you pass it a bad pointer, it's permitted to spin
your tape drives to the tune of "yankee doodle dandy"...

-hpa

-
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