mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
801742470e
SELinux doesn't allow 'execmem', returning MAP_FAILED and 'Permission denied' for mmap or RWX memory. In this case AllocateRWX was returning a MemoryBlock with uninitialized fields, which sometimes caused crashes. This patch initializes MemoryBlock fields to 0, so that the RWX-failure check works. It doesn't fix the SELinux 'execmem' issues though (the JIT will not work when SELinux is in enforcing mode). llvm-svn: 99762 |
||
---|---|---|
.. | ||
AIXDataTypesFix.h | ||
Alarm.h | ||
Atomic.h | ||
DataTypes.h.cmake | ||
DataTypes.h.in | ||
Disassembler.h | ||
DynamicLibrary.h | ||
Errno.h | ||
Host.h | ||
IncludeFile.h | ||
LICENSE.TXT | ||
Memory.h | ||
Mutex.h | ||
Path.h | ||
Process.h | ||
Program.h | ||
RWMutex.h | ||
Signals.h | ||
Solaris.h | ||
Threading.h | ||
ThreadLocal.h | ||
TimeValue.h | ||
Valgrind.h |