freebsd-dev/tools/regression/sockets
Robert Watson 9cf15e9671 Add unix_sorflush, a regression test for the following scenario:
- Process (a) is blocked in read on a socket waiting on data.
 - Process (b) is blocked in shutdown() on a socket waiting on (a).
 - Process (c) delivers a signal to (b) interrupting its wait.

When the signal is delivered, the kernel panics as sblock() fails in
sorflush().  Even if it didn't panic, shutdown() would block potentially
indefinitely waiting for recv() to succeeded.  Fixes to follow.

Reported by:	Jos Backus <jos at catnook dot com>
2008-01-30 13:23:34 +00:00
..
accept_fd_leak Add another fd leak test for accept() I used to test the fix in 1.234 of 2007-04-02 16:02:50 +00:00
accf_data_attach o setsockopt(2) cannot remove accept filter. [1] 2005-06-11 11:59:48 +00:00
kqueue Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
listen_backlog o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
listenclose Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
pr_atomic Drop all received data mbufs from a socket's queue if the MT_SONAME 2006-12-23 21:07:07 +00:00
reconnect Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
rtsocket o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
sblock Add a regression test to detect if waiting on the I/O serialization lock 2007-05-06 14:28:49 +00:00
sendfile Test sending 0 bytes. 2007-04-20 19:01:42 +00:00
shutdown Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
sigpipe Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
socketpair Fix a fd leak in socketpair(): 2007-04-02 19:15:47 +00:00
unix_bindconnect o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
unix_cmsg o Let getopt(3) report errors in command line arguments. 2006-05-31 08:10:34 +00:00
unix_gc Add regression tests for UNIX domain socket garbage collection. Should be 2007-12-31 16:45:27 +00:00
unix_passfd o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
unix_sendtorace Add a short regression test to try to exercise races in the non-atomic 2006-11-15 12:43:45 +00:00
unix_socket o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
unix_sorflush Add unix_sorflush, a regression test for the following scenario: 2008-01-30 13:23:34 +00:00
zerosend Ignore EINPROGRESS error on TCP connect(), and pick up the result of the 2007-01-12 22:17:31 +00:00