Exit when there's error on select() 59/276459/1 submit/tizen/20220617.051704
authorjiung-yu <jiung.yu@samsung.com>
Fri, 17 Jun 2022 04:54:38 +0000 (13:54 +0900)
committerjiung-yu <jiung.yu@samsung.com>
Fri, 17 Jun 2022 04:55:02 +0000 (13:55 +0900)
commit346911646d7804ee00db6a495c22fc61d188a808
tree8644ecd12ac33fa4323b9f7e109ead69c8430ae4
parentacb1a41f1073f5fced4bad97a96654fca9b757a6
Exit when there's error on select()

Description: Sometimes there's an issue that dhcpd isn't killed
by SigTerm and it consumes all CPU usage.
 We can't reproduce the issue but I think we can terminate
dhcpd when select returns an error and errno is not EINTR.

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