Re: bgpd more O_CLOEXEC

2019-08-08 Thread Alexander Bluhm
On Thu, Aug 08, 2019 at 01:40:06PM +0200, Claudio Jeker wrote: > Just use O_CLOEXEC or SOCK_CLOEXEC on everything. There is no reason to > keep any kind of file descriptor over an exec call. At least this way > I'm sure that no fds will leak into the childs. > > OK? OK bluhm@ > Index: carp.c >

bgpd more O_CLOEXEC

2019-08-08 Thread Claudio Jeker
Just use O_CLOEXEC or SOCK_CLOEXEC on everything. There is no reason to keep any kind of file descriptor over an exec call. At least this way I'm sure that no fds will leak into the childs. OK? -- :wq Claudio ? obj Index: carp.c