]> git.ipfire.org Git - thirdparty/libarchive.git/commit
tools: Enforce default handling of SIGCHLD 2659/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 2 Jun 2025 21:29:49 +0000 (23:29 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 2 Jun 2025 21:29:49 +0000 (23:29 +0200)
commit36bac92cd2ef4a8719f62de9b4bde659a8682463
tree9df9a952fbf7af28ce0532de8632e3fcd9a10df7
parent2764062e650059884dcec1d49d0a3401cda8e637
tools: Enforce default handling of SIGCHLD

Ignoring SIGCHLD gets passed to child processes. Doing that has
influence on waitpid, namely that zombie processes won't be
created. This means that a status can never be read.

We can't enforce this in library, but libarchive's tools can be
protected against this by enforcing default handling.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
cat/bsdcat.c
cpio/cpio.c
tar/bsdtar.c
unzip/bsdunzip.c