lkml.org 
[lkml]   [1998]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bug in write(2) system call.
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/

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