Android Things LTS v1.0.1 (4795405)
rewrite si_syscall compat hack

The way we've been hacking access to the si_syscall member no longer
works with newer glibc versions.  Change the code to use si_syscall
directly if it's available, and fallback to the old logic only when
it's not (e.g. for Android compatibility).

Bug: chromium:846398
Test: build & unittests still pass
Change-Id: I71e32f8eaca14168ebbe4a4a8b2eea8235929f3c
1 file changed