Should use CLOEXEC for epoll_create and eventfd
funny-falcon opened this issue · comments
Sokolov Yura commented
Epoll has EPOLL_CLOEXEC and eventfd EFD_CLOEXEC to close socket after calling to exec syscall. While it is strange to be highload network server and call os.StartProcess or exec.Command at the same time, still better to provide this flags for consistency with Go runtime.