More consistently retry system calls on EINTR
We were not retrying an accept() call om EINTR, resulting in occasional
zygote failures. This fixes that, and a few other calls documented
to potentially return EINTR. This is based on a quick seacrh of the
two files affected by this CL.
Bug: 193753947
Bug: 187992348
Test: Build and boot AOSP
Merged-In: Icbfb38be5110607c121545e5c200ce65d1eefbfe
Change-Id: Icbfb38be5110607c121545e5c200ce65d1eefbfe
(cherry picked from commit c3dcb0d088e388d517d5e1dab7a46d361b231407)
2 files changed