add SOCK_CLOEXEC fallback for socketpair on old kernels
as usual, this is non-atomic, but better than producing an error or failing to set the close-on-exec flag at all.
Showing
想要评论请 注册 或 登录
as usual, this is non-atomic, but better than producing an error or failing to set the close-on-exec flag at all.