Remove excessive PROT_EXEC

This commit is contained in:
hazuki 2020-04-26 17:42:35 +09:00 committed by Guy McSwain
parent 30e6b35574
commit ad52dcdc83
1 changed files with 1 additions and 1 deletions

View File

@ -7318,7 +7318,7 @@ static int initGrabLockFile(void)
static uint32_t * initMapMem(int fd, uint32_t addr, uint32_t len)
{
return (uint32_t *) mmap(0, len,
PROT_READ|PROT_WRITE|PROT_EXEC,
PROT_READ|PROT_WRITE,
MAP_SHARED|MAP_LOCKED,
fd, addr);
}