Set CLOEXEC on epoll FD

2012-10-24 Thread Georg Wicherski
by legitimate means (due to execve, I do not care about the leaked heap memory etc.). However this also means, the epoll FD (as an example) will remain open. - Can you set CLOEXEC on the epoll FD, please? - What is a hackish way to get that FD and do this myself until such a patch is available in the major

Re: Set CLOEXEC on epoll FD

2012-10-24 Thread Marc Lehmann
On Wed, Oct 24, 2012 at 04:25:32PM +0200, Georg Wicherski g...@oxff.net wrote: - Can you set CLOEXEC on the epoll FD, please? libev has always set CLOEXEC on the fd, AFAICR - which version are you using? - What is a hackish way to get that FD and do this myself until such a patch is available