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
- Repository
- rL LLVM
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 179444 compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_rtems.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
compiler-rt/trunk/lib/xray/xray_init.cc
|