These mostly guard linux-only headers; check for linux instead. PiperOrigin-RevId: 329362762
PiperOrigin-RevId: 291745021
A few tests have their own ad-hoc implementations. Add a single common one. PiperOrigin-RevId: 283601666