Convert "fcntl(n, F_CLOSEM)" to "closefrom(n)"

Submitted by: pho
Sponsored by: EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273521 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Mark unused parameters __unused in handler
- Call sigqueue with getpid() instead of 0 -- the latter idiom appears to only
be valid on NetBSD

In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273522 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add limits.h #include for LINE_MAX

Sponsored by: EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273523 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add sys/socket.h #include for struct sockaddr_in

Sponsored by: EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273524 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f