lkml.org 
[lkml]   [2005]   [Sep]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kernel error in system call accept() under kernel 2.6.8
FromAlan Cox <>
DateTue, 20 Sep 2005 16:32:07 +0100
On Maw, 2005-09-20 at 16:25 +0200, Peter Duellings wrote:
> Obviously there are some cases where the accept() system call does
> not set the errno variable if the accept() system call returns
> with a value less than zero:

Not actually possible. The kernel returns a positive value, zero or a
negative value which is the errno code negated. It has no mechanism to
return a negative value and not error.

What does strace show for the failing case ?

-
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/

\
 
 \ /
  Last update: 2005-09-20 17:08    [from the cache]
©2003-2008