lkml.org 
[lkml]   [1998]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: copy_from_user() fixu
Date
> 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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:1.273 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site