diff options
author | fenner <fenner@FreeBSD.org> | 1999-01-25 16:58:56 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1999-01-25 16:58:56 +0000 |
commit | 56bddd51c28ba7ae74608ff9e0278bf9b2ac4ad4 (patch) | |
tree | 34acae73d887557e2b1596dd39b6b88ad399a920 /lib/libc/stdlib/system.c | |
parent | 479ab8882bc874ce42a63facf700e543ee0dd470 (diff) | |
download | FreeBSD-src-56bddd51c28ba7ae74608ff9e0278bf9b2ac4ad4.zip FreeBSD-src-56bddd51c28ba7ae74608ff9e0278bf9b2ac4ad4.tar.gz |
Port NetBSD's 19990120-accept bug fix. This works around the race condition
where select(2) can return that a listening socket has a connected socket
queued, the connection is broken, and the user calls accept(2), which then
blocks because there are no connections queued.
Reviewed by: wollman
Obtained from: NetBSD
(ftp://ftp.NetBSD.ORG/pub/NetBSD/misc/security/patches/19990120-accept)
Diffstat (limited to 'lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions