summaryrefslogtreecommitdiffstats
path: root/src/util/child_common.h
Commit message (Collapse)AuthorAgeFilesLines
* UTIL: Remove more code duplication setting up child processesJakub Hrozek2014-11-051-0/+2
| | | | | | | | All our child processes duplicated the same code that set up the debugging all around. Instead of adding yet another copy for the selinux_child, add a common utility function. Reviewed-by: Michal Židek <mzidek@redhat.com>
* UTIL: Remove code duplication of struct ioJakub Hrozek2014-11-051-0/+7
| | | | | | | | We had struct io and the associated destructor copied twice in the code already and need it again in the SELinux provider. Instead of adding another copy, move the code to a shared subtree under util/ Reviewed-by: Michal Židek <mzidek@redhat.com>
* SIGCHLD handler: do not call callback when pvt data where freedPavel Březina2013-07-171-1/+7
| | | | https://fedorahosted.org/sssd/ticket/1992
* execv, excvp and exec_child never return EOKStef Walter2012-05-011-0/+1
| | | | * So don't need to handle that case
* Move child_common routines to utilStephen Gallagher2011-12-191-0/+109