Re: [ovs-dev] [PATCHv3] process: block signals while spawning child processes

2014-05-29 Thread Ben Pfaff
On Thu, May 29, 2014 at 03:32:05PM -0700, Ansis Atteka wrote: > Between fork() and execvp() calls in the process_start() > function both child and parent processes share the same > file descriptors. This means that, if a child process > received a signal during this time interval, then it could >

[ovs-dev] [PATCHv3] process: block signals while spawning child processes

2014-05-29 Thread Ansis Atteka
Between fork() and execvp() calls in the process_start() function both child and parent processes share the same file descriptors. This means that, if a child process received a signal during this time interval, then it could potentially write data to a shared file descriptor. One such example is