[sanitizer] Use canonical syscalls everywhere
authorEvgenii Stepanov <eugenis@google.com>
Thu, 21 Apr 2022 22:17:29 +0000 (15:17 -0700)
committerEvgenii Stepanov <eugenis@google.com>
Fri, 22 Apr 2022 19:08:13 +0000 (12:08 -0700)
commit34b676eb60ca1fa012068d161633f268d8ea7e6c
treeb4dc8f780068f962c89d39c16c013f21d35df7a6
parent3e8560f890bb795fec6b86186239633f22a153d5
[sanitizer] Use canonical syscalls everywhere

These "new" syscalls have been added in 2.6.16, more than 16 years ago.
Surely that's enough time to migrate. Glibc 2.33 is using them on both
i386 and x86_64. Android has an selinux filter to block the legacy
syscalls in the apps.

Differential Revision: https://reviews.llvm.org/D124212
compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
compiler-rt/lib/sanitizer_common/sanitizer_platform.h