]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Guard against handling many SIGTERM/SIGINT.
authorRoy Marples <roy@marples.name>
Mon, 25 Sep 2023 09:34:12 +0000 (10:34 +0100)
committerRoy Marples <roy@marples.name>
Mon, 25 Sep 2023 09:34:12 +0000 (10:34 +0100)
commitdcaf729bcaa7d9059fecb8231f395c5a0be293e0
treec2203a170fde7adc44a32aed68782540923b08ea
parent8ac0147364222df1d7cff599ed2a538a3965705a
Guard against handling many SIGTERM/SIGINT.

Privsep has a mini-eloop for reading data from other processes.
This mini-eloop processes signals as well so we can reap children.
During teardown we don't want to process SIGTERM or SIGINT again,
as that could trigger memory issues.

Hopefully fixes #247.
src/dhcpcd.c