Locate signal handler at head of the loop 06/267806/4 submit/tizen_6.5/20211210.071119
authorjiung-yu <jiung.yu@samsung.com>
Fri, 10 Dec 2021 03:21:42 +0000 (12:21 +0900)
committerjiung-yu <jiung.yu@samsung.com>
Fri, 10 Dec 2021 04:34:08 +0000 (13:34 +0900)
commit07da3912ec365e1bb33a40ce940a0d783e8f6cad
treecec74a7378b02a1ec96cb822af8438c56525f22e
parenteb4b5e1bd34a38ab87058a9420a808e8599d4e1f
Locate signal handler at head of the loop

Description:
toybox dhcpd daemon have some problem when it receives SIGTERM.
When it occurs, dhcpd can't be killed and CPU usage rises up to 100%

Change-Id: I6499f0fc8a8554737c9982b4eaf1125e99eed52b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
toys/pending/dhcpd.c