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

2014-05-29 Thread Gurucharan Shetty
On Thu, May 29, 2014 at 3:35 PM, Ansis Atteka wrote: > On Wed, May 28, 2014 at 2:46 PM, Ben Pfaff wrote: >> On Wed, May 28, 2014 at 02:40:23PM -0700, Ansis Atteka wrote: >>> Between fork() and execvp() calls in the process_start() >>> function both child and parent processes share the same >>> fi

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

2014-05-29 Thread Ansis Atteka
On Wed, May 28, 2014 at 2:46 PM, Ben Pfaff wrote: > On Wed, May 28, 2014 at 02:40:23PM -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 >> rece

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

2014-05-28 Thread Ben Pfaff
On Wed, May 28, 2014 at 02:40:23PM -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] [PATCHv2] process: block signals while spawning child processes

2014-05-28 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