Zack Weinberg writes:
> Linus Torvalds wrote:
> > And before you say "it has to return EFAULT", check the standards, and
> > think about the case of libraries vs system calls - and how do you tell
> > them apart?
>
> My reading of the standard is that it has to either return EFAULT or
^^
> raise SIGSEGV. But I am not expert in XPG4-ese.
Linus is trying to point out: "what is this 'it'?" Is it glibc or
what the kernel gives you?
> Whether or not the standard requires anything, I would much rather
> that the kernel not silently discard error conditions.
But only perhaps from a "quality of implementation" perspective not a
"correctness" one.
Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jun 23 2001 - 21:00:30 EST