commit | b891eb3689436b99bbfdef5eedffd3d906cf8b7c | [log] [tgz] |
---|---|---|
author | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu May 10 16:06:23 2018 -0700 |
committer | Adriana Kobylak <anoo@linux.ibm.com> | Wed May 23 20:48:32 2018 +0000 |
tree | 4865d26d87910e162217450f09815600268f294c | |
parent | 8ff0ee5419a304297889e78e4d30357cef77c4ce [diff] |
Double fork to release child to be reaped by init If a task forks, it must clean up after its dead children or the system will have zombie tasks that will ultimately be reparented to init, but only after the parent dies. Cleanup can be done in a variety of ways: waitpid, ignoring SIGCHLD, or forking twice and allowing the grandchild to be reparented to init and calling waitpid on the child. Change-Id: Ic48ea583b37e065da34aa4acfd74b6e1b1c2d04f Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.