Searched refs:PROT_EXEC (Results 1 – 7 of 7) sorted by relevance
32 static constexpr int kProtRWX = PROT_READ | PROT_WRITE | PROT_EXEC;33 static constexpr int kProtRX = PROT_READ | PROT_EXEC;
26 #define PROT_EXEC 0x4 macro
83 if ((prot & PROT_EXEC) != 0) { in TargetMMap()
1168 const int prot_non_exec = prot & ~PROT_EXEC; in MapInternal()
214 marker_address_ = mmap(nullptr, kPageSize, PROT_READ | PROT_EXEC, MAP_PRIVATE, fd, 0); in OpenMarkerFile()
112 int result = mprotect(base_ptr, len, PROT_READ | PROT_WRITE | PROT_EXEC); in MakeExecutable()
1185 prot |= PROT_EXEC; in Load()