mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-11 08:07:22 +00:00
b4bc96317a
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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99762 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
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 |