glandium updated this revision to Diff 121983.
glandium added a comment.
Updated wording.
https://reviews.llvm.org/D39717
Files:
lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
Index: lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
=
glandium created this revision.
Herald added a subscriber: kubamracek.
Sufficiently old Linux kernel headers don't provide the PR_SET_PTRACER, but we
can still call prctl with it if the runtime kernel is newer. Even if it's not,
prctl will only return EINVAL.
https://reviews.llvm.org/D39717
F