cvs commit: src/sys/kern sys_generic.c

Andrey Chernov ache at
Tue Jan 25 03:06:50 PST 2005

On Tue, Jan 25, 2005 at 01:58:11PM +0300, Andrey Chernov wrote:
> What's about "invalid buffer pointers" detection, directly mentioned in 
> the standard (above)? Now it is broken for zero bytes read because your 
> newly inserted check takes precedence.

The next precedence violation candidate in error detection will be:

The process is a member of a background process attempting to read from 
its controlling terminal, the process is ignoring or blocking the SIGTTIN 
signal, or the process group is orphaned."

I.e. look at ERRORS section list and inspect each errno returning broken 
by preliminary zero bytes check.


More information about the cvs-all mailing list