Re: copy_from_user() fixu

Werner Seiler (wseiler@eunet.at)
Wed, 26 Aug 1998 20:44:35 +0200


Hi,

Nobody seemed to check the POSIX standard on this subject.

>From IEEE Std 1003.1-1990 (POSIX Part 1)
Chapter 2.4 Error Numbers, page 24:

[EFAULT] Bad address
The system detected an invalid address in attempting to use
an
argument of a call. The reliable detection of this error is
imple-
mentation defined; however, implementations that do detect
this
condition shall use this value.

For me it seems that POSIX is in favor of the pro-EFAULT camp.

Regards,

Werner

--
----------------------------------------------------------------------
Werner M. Seiler                                       wseiler@eunet.at

- 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