cvs commit: src/tools/regression/sockets/accept_fd_leak Makefile accept_fd_leak.c

Robert Watson rwatson at
Sat Jul 17 09:56:46 PDT 2004

rwatson     2004-07-17 16:56:46 UTC

  FreeBSD src repository

  Added files:
    tools/regression/sockets/accept_fd_leak Makefile 
  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()
  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)

More information about the cvs-src mailing list