Messages in this thread | | | Subject | Re: kernel error in system call accept() under kernel 2.6.8 | From | Alan Cox <> | Date | Tue, 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/
| |