summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2017-06-20 16:44:06 +0000
committeranton <anton@openbsd.org>2017-06-20 16:44:06 +0000
commit0b2eaac31c75f9e1d1f1d8c5e2cdef94df157a12 (patch)
tree20705f528c7021b6ee7592071681db5c7be903a6 /sys/kern/uipc_socket.c
parentCheck the validity of the `qtd' pointer after each interrupt case (diff)
downloadwireguard-openbsd-0b2eaac31c75f9e1d1f1d8c5e2cdef94df157a12.tar.xz
wireguard-openbsd-0b2eaac31c75f9e1d1f1d8c5e2cdef94df157a12.zip
Don't try to close every single file descriptor up to _SC_OPEN_MAX in csh.
Instead, close the fds that reside in between the gaps of used fds and once the largest used fd is reached call closefrom(). ok deraadt@
Diffstat (limited to 'sys/kern/uipc_socket.c')
0 files changed, 0 insertions, 0 deletions