Messages in this thread |  | | From | Keith Owens <> | Subject | Re: copy_from_user() fixu | Date | Tue, 25 Aug 1998 19:46:34 +1000 |
| |
Chris Wedgwood writes: > 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.
From Unix98 (Single Unix Specification Version 2, April 1997). Section XSH errors.
Implementations ... may generate additional errors unless explicitly disallowed for a particular function. ... [EFAULT]
Bad address The system detected an invalid address in attempting to use an argument of a call. The reliable detection of this error cannot be guaranteed, and when not detected may result in the generation of a signal, indicating an address violation, which is sent to the process.
The XSH section of Unix98 does not list EFAULT as a required error return for any system interface. Unless English has been changed recently the above means the kernel can deliver error EFAULT *or* a signal and still conform to Unix98.
- 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
|  |