HardenedBSD/sys/fs
Jilles Tjoelker 74d1c4927a Fix poll() on half-closed sockets, while retaining POLLHUP for fifos.
This reverts part of r196460, so that sockets only return POLLHUP if both
directions are closed/error. Fifos get POLLHUP by closing the unused
direction immediately after creating the sockets.

The tools/regression/poll/*poll.c tests now pass except for two other things:
- if POLLHUP is returned, POLLIN is always returned as well instead of only
  when there is data left in the buffer to be read
- fifo old/new reader distinction does not work the way POSIX specs it

Reviewed by:	kib, bde
2009-08-25 21:44:14 +00:00
..
cd9660 In vn_vget_ino() and their inline equivalents, mnt_ref() the mount point 2009-07-02 18:02:55 +00:00
coda Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
deadfs
devfs
fdescfs
fifofs Fix poll() on half-closed sockets, while retaining POLLHUP for fifos. 2009-08-25 21:44:14 +00:00
hpfs
msdosfs
nfs Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00
nfsclient Fix NFS panics with options VIMAGE kernels by apropriately setting curvnet 2009-08-24 10:09:30 +00:00
nfsserver Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
ntfs
nullfs
nwfs
portalfs
procfs Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to 2009-07-24 13:50:29 +00:00
pseudofs Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
smbfs
tmpfs
udf
unionfs Fix some LORs between vnode locks and filedescriptor table locks. 2009-07-31 13:40:06 +00:00