summaryrefslogtreecommitdiffstats
path: root/tools/regression/sockets/unix_sorflush
Commit message (Collapse)AuthorAgeFilesLines
* Garbage collect argc/argv and bump WARNS to 6ngie2015-04-112-2/+2
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-131-1/+1
| | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* Always assign WARNS using ?=uqs2010-03-021-1/+1
| | | | | | | - fix some nearby style bugs - include Makefile.inc where it makes sense and reduces duplication Approved by: ed (co-mentor)
* Add unix_sorflush, a regression test for the following scenario:rwatson2008-01-302-0/+106
- 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>
OpenPOWER on IntegriCloud