> >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.
No.
Your looking at it from the wrong end.
EFAULT -> bad address
Getting an EFAULT means you passed a bad address.
bad address !> EFAULT
passing a bad address doesn't require an EFAULT.
-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