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
> maybe... I don't know enough about either standard to comment.
>
> I do understand what you are saying about syscall/libc transparency
> and for the most part agree - but I do like getting EFAULT instead of
> a coredump in some applications, mainly because I can write code to
> recover from this more elegantly that a coredump.
>
> And before you say, I shouldn't get EFAULT, wrong. I do get them.
>
> Oh hang, no I don't, I forgot. My code if perfect. Silly me thinking
> I might code the odd error...

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.

-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    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site