]> diplodocus.org Git - nmh/commit
Set the close-on-exec flag for sockets
authorKen Hornstein <kenh@pobox.com>
Tue, 23 Apr 2019 01:42:14 +0000 (21:42 -0400)
committerKen Hornstein <kenh@pobox.com>
Tue, 23 Apr 2019 01:42:14 +0000 (21:42 -0400)
commit558137c4d87a7fc0f9871a37ff53479e9ae00d0b
tree691a3f411eef2d0aae36693ac7f54e97fbcc00bc
parentee412cbd5c0667742a128fb4e1c89801528a9a48
Set the close-on-exec flag for sockets

Since we no longer use closefds(), start cleaning up stray descriptors.
Start by making sure that any network sockets we create have the
close-on-exec flag set on them.
sbr/client.c