OSDN Git Service

Avoid O_CLOEXEC to allow building on older Linux (RHEL5)
authorVitaly Buka <vitalybuka@google.com>
Fri, 29 May 2020 08:02:36 +0000 (01:02 -0700)
committerVitaly Buka <vitalybuka@google.com>
Fri, 29 May 2020 09:06:53 +0000 (02:06 -0700)
commit058f5f6fd813d1ee1480497394d6fd44e65ec62b
tree5641902faa850d2cdd5fb9c8723e5d4f34f10caf
parent7a3a2535854c84b1c8f6b0a2f2677e89b0e1a250
Avoid O_CLOEXEC to allow building on older Linux (RHEL5)

Summary:
See https://github.com/google/sanitizers/issues/1253.

Small patch to enable compilation on (ancient) Red Hat Enterprise Linux 5.

Reviewers: kcc, vitalybuka

Reviewed By: vitalybuka

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D80648
compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp