OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a247e
)
enable mprotect() regardless of MMU as some systems have MPUs which allows memory...
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 16 Mar 2009 06:16:15 +0000
(06:16 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 16 Mar 2009 06:16:15 +0000
(06:16 -0000)
libc/sysdeps/linux/common/mprotect.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/mprotect.c
b/libc/sysdeps/linux/common/mprotect.c
index
a0e7610
..
d60fc04
100644
(file)
--- a/
libc/sysdeps/linux/common/mprotect.c
+++ b/
libc/sysdeps/linux/common/mprotect.c
@@
-10,6
+10,6
@@
#include <sys/syscall.h>
#include <sys/mman.h>
-#if defined __
ARCH_USE_MMU__ && defined __
NR_mprotect
+#if defined __NR_mprotect
_syscall3(int, mprotect, void *, addr, size_t, len, int, prot)
#endif