Add a CheckMPROTECT() routine to detect when pax MPROTECT is enabled
on NetBSD, and error xray out when it is. The solution is adapted
from existing CheckASLR().
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D56049
[compiler-rt] [xray] Detect MPROTECT and error out when it's enabled (on NetBSD) ClosedPublic Authored by mgorny on Dec 22 2018, 2:53 AM.
Details Summary Add a CheckMPROTECT() routine to detect when pax MPROTECT is enabled
Diff Detail Event TimelineHerald added subscribers: Restricted Project, llvm-commits, kubamracek. · View Herald TranscriptDec 22 2018, 2:53 AM This revision is now accepted and ready to land.Dec 22 2018, 4:01 AM Closed by commit rL350030: [xray] Detect MPROTECT and error out when it's enabled (on NetBSD) (authored by mgorny). · Explain WhyDec 23 2018, 7:13 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 179419 lib/sanitizer_common/sanitizer_common.h
lib/sanitizer_common/sanitizer_fuchsia.cc
lib/sanitizer_common/sanitizer_linux.cc
lib/sanitizer_common/sanitizer_mac.cc
lib/sanitizer_common/sanitizer_rtems.cc
lib/sanitizer_common/sanitizer_win.cc
lib/xray/xray_init.cc
|
PaX