]> git.ipfire.org Git - thirdparty/pdns.git/commit
Do not make SIGCHLD ignored when the pipe backend launches. 16114/head
authorMiod Vallat <miod.vallat@powerdns.com>
Fri, 12 Sep 2025 07:28:00 +0000 (09:28 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Fri, 12 Sep 2025 07:28:00 +0000 (09:28 +0200)
commit37e02c49b0a35a64a83181b57a56d3b2693cbb74
tree6dadd2b6717643c8a61823a2b925cac96d8175d0
parent0d3ea1e32ae851d59324264047d03ac0ff605801
Do not make SIGCHLD ignored when the pipe backend launches.

The pipe code makes sure to properly invoke waitpid() to reap its child
process, if any. And ignoring SIGCHLD would prevent other legitimate
waitpid() calls from working, such the editor spawned by pdnsutil zone edit.

Fixes: #3680
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
modules/pipebackend/pipebackend.cc