diff options
author | 2017-06-20 16:44:06 +0000 | |
---|---|---|
committer | 2017-06-20 16:44:06 +0000 | |
commit | 0b2eaac31c75f9e1d1f1d8c5e2cdef94df157a12 (patch) | |
tree | 20705f528c7021b6ee7592071681db5c7be903a6 /sys/kern/uipc_socket.c | |
parent | Check the validity of the `qtd' pointer after each interrupt case (diff) | |
download | wireguard-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