diff options
author | Guy McSwain <guy.mcswain@gmail.com> | 2020-06-27 07:08:01 -0500 |
---|---|---|
committer | Guy McSwain <guy.mcswain@gmail.com> | 2020-06-27 07:31:14 -0500 |
commit | f51642ad1374b5bc6bfcf076c7459f7a7bf0db54 (patch) | |
tree | 55cfff165609e7af8e5400c78ab1ba6ab8bd9bb5 | |
parent | d4e20ead60f50b0b6a5e864b7d993ccfdd3b7e35 (diff) |
Revert "Remove excessive PROT_EXEC"
-rw-r--r-- | pigpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7332,7 +7332,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_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_LOCKED, fd, addr); } |