projects
/
pigpio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76cebc7
)
Remove excessive PROT_EXEC
author
hazuki
<hazuki0x0@users.noreply.github.com>
Sun, 26 Apr 2020 08:42:35 +0000
(17:42 +0900)
committer
hazuki
<hazuki0x0@users.noreply.github.com>
Sun, 26 Apr 2020 08:42:35 +0000
(17:42 +0900)
pigpio.c
patch
|
blob
|
history
diff --git
a/pigpio.c
b/pigpio.c
index 7cd7cbfc18016ea5186ec07bc39116ffd4ec2372..b58cb474f0deeff30cd40a829dcff2c9e2276270 100644
(file)
--- a/
pigpio.c
+++ b/
pigpio.c
@@
-7262,7
+7262,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);
}