Searched refs:paxflags (Results 1 – 3 of 3) sorted by relevance
/external/pcre/dist2/src/sljit/ |
D | sljitWXExecAllocator.c | 80 int paxflags; in netbsd_se_protected() local 81 size_t len = sizeof(paxflags); in netbsd_se_protected() 87 if (SLJIT_UNLIKELY(sysctl(mib, 3, &paxflags, &len, NULL, 0) < 0)) in netbsd_se_protected() 90 return (paxflags & CTL_PROC_PAXFLAGS_MPROTECT) ? -1 : 0; in netbsd_se_protected()
|
/external/llvm-project/llvm/unittests/Support/ |
D | MemoryTest.cpp | 33 int paxflags; in IsMPROTECT() local 34 size_t len = sizeof(paxflags); in IsMPROTECT() 40 if (sysctl(mib, 3, &paxflags, &len, NULL, 0) != 0) in IsMPROTECT() 43 return !!(paxflags & CTL_PROC_PAXFLAGS_MPROTECT); in IsMPROTECT()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.cpp | 2144 int paxflags; in CheckASLR() local 2145 uptr len = sizeof(paxflags); in CheckASLR() 2151 if (UNLIKELY(internal_sysctl(mib, 3, &paxflags, &len, NULL, 0) == -1)) { in CheckASLR() 2156 if (UNLIKELY(paxflags & CTL_PROC_PAXFLAGS_ASLR)) { in CheckASLR() 2210 int paxflags; in CheckMPROTECT() local 2211 uptr len = sizeof(paxflags); in CheckMPROTECT() 2217 if (UNLIKELY(internal_sysctl(mib, 3, &paxflags, &len, NULL, 0) == -1)) { in CheckMPROTECT() 2222 if (UNLIKELY(paxflags & CTL_PROC_PAXFLAGS_MPROTECT)) { in CheckMPROTECT()
|