Re: bug in write(2) system call.
Tigran Aivazian (tigran@sco.COM)
Mon, 19 Oct 1998 13:37:22 +0100 (BST)
On Mon, 19 Oct 1998 Andries.Brouwer@cwi.nl wrote:
> It is a matter of quality of implementation.
> A high quality implementation detects all bad addresses and
> returns EFAULT for them.
I agree with this completely and also think that it would be bad for the
software to start passing rubbish (or garbage if in US) to syscalls expecting
kernel to handle it in all cases. The only reason I point it out is because
I expected some clever hacker to fix it *without* any obvious extra overhead,
i.e. not by plain checking all the pointers etc. I certainly wouldn't want to see
Linux benchmark figures to deteriorate only because it is generous enough
to cater for all kinds of buggy software...
regards,
Tigran.
-
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.tux.org/lkml/