]> git.ipfire.org Git - thirdparty/lldpd.git/commit
priv: provide a simpler sig_chld when priv sep is disabled fix/reap-children 251/head
authorVincent Bernat <vincent@bernat.im>
Sun, 22 Oct 2017 19:04:29 +0000 (21:04 +0200)
committerVincent Bernat <vincent@bernat.im>
Sun, 22 Oct 2017 19:04:29 +0000 (21:04 +0200)
commit95f43afa5c39702b3d01e31df18bd2bd01e7c4bc
tree964a821066ca5cfb485bcdba6739fc2ed7c96b2f
parent635724519137dde5adc749f6320f225373fd63d5
priv: provide a simpler sig_chld when priv sep is disabled

We restore the original sig_chld() helper function when privilege
separation is enabled but we use a very simple one when not. This
should still fix the zombie issue.
src/daemon/priv.c