healthd code updated to handle select return codes properly. The old code
assumed that the fdesc set was correctly reported when select was interrupted by a signal. In the new Linux kernels, this is not the case, and is certainly not safe to assume in the first place. Did some cleanups of the daemon loop as well.
Showing with 57 additions and 170 deletions