2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-28 21:07:47 +00:00

5 Commits

Author SHA1 Message Date
Ben Pfaff
1fa39e1d50 process: Factor code out of process_start() into helper functions.
An upcoming commit will add a new function that can also use these helper
functions.
2009-07-16 09:17:06 -07:00
Ben Pfaff
52dc2ef41b process: Fix races on fatal signal handling in process_start().
To prevent fatal signals in a child process from causing the parent
process's pidfile, etc. to be deleted, we need to block fatal signals
around fork and call fatal_signal_fork() in the child process.

This problem was noticed through code inspection; it has not been observed
in practice.
2009-07-16 09:17:06 -07:00
Ben Pfaff
a8b5f8b423 Add function get_null_fd(), to reduce code redundancy. 2009-07-16 09:17:03 -07:00
Ben Pfaff
a14bc59fb8 Update primary code license to Apache 2.0. 2009-06-15 15:11:30 -07:00
Ben Pfaff
064af42167 Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45. 2009-07-08 13:19:16 -07:00