Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2004 16:56:46 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/tools/regression/sockets/accept_fd_leak Makefile accept_fd_leak.c
Message-ID:  <200407171656.i6HGuko5051524@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004-07-17 16:56:46 UTC

  FreeBSD src repository

  Added files:
    tools/regression/sockets/accept_fd_leak Makefile 
                                            accept_fd_leak.c 
  Log:
  Add simple regression test to detect leakage of file descriptors when
  accept() returns EAGAIN on a non-blocking listen socket.  This is the
  tool I used to check that such a bug was resolved when merging accept()
  locking.
  
  Revision  Changes    Path
  1.1       +11 -0     src/tools/regression/sockets/accept_fd_leak/Makefile (new)
  1.1       +131 -0    src/tools/regression/sockets/accept_fd_leak/accept_fd_leak.c (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407171656.i6HGuko5051524>