[PATCH] D124212: [sanitizer] Use canonical syscalls everywhere

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 16:17:48 PDT 2022


eugenis created this revision.
eugenis added reviewers: pcc, vitalybuka.
Herald added subscribers: luke957, pengfei, s.egerton, simoncook.
Herald added a project: All.
eugenis requested review of this revision.
Herald added subscribers: Sanitizers, pcwang-thead.
Herald added a project: Sanitizers.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124212

Files:
  compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
  compiler-rt/lib/sanitizer_common/sanitizer_platform.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124212.424325.patch
Type: text/x-patch
Size: 3686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220421/64d0bdfb/attachment.bin>


More information about the llvm-commits mailing list