Re: copy_from_user() fix

Chris Wedgwood (chris@cybernet.co.nz)
Wed, 26 Aug 1998 18:29:26 +1200


On Tue, Aug 25, 1998 at 05:20:52PM +1000, Richard Gooch wrote:

> Didn't someone say Unix98 defines EFAULT? So it looks like we can
> herdly blow it away.

That may have been me... but its not that Unix98 defines EFAULT, but
rather defines what EFAULT means if you happen to get one.

As hpa has pointer out, EFAULT is not _required_ when you pass a
bogus pointer - but then again, neither is a segfault.

-cw

-
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