Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | Re: copy_from_user() fixu | Date | Tue, 25 Aug 1998 00:24:17 -0700 (PDT) |
| |
> 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
| |