OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c2976
)
if __NR_mprotect does not exist, dont try and create a syscall for it
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 8 Dec 2006 03:39:59 +0000
(
03:39
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 8 Dec 2006 03:39:59 +0000
(
03:39
-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
7eab338
..
5edabe0
100644
(file)
--- a/
libc/sysdeps/linux/common/mprotect.c
+++ b/
libc/sysdeps/linux/common/mprotect.c
@@
-9,4
+9,7
@@
#include "syscalls.h"
#include <sys/mman.h>
+
+#ifdef __NR_mprotect
_syscall3(int, mprotect, void *, addr, size_t, len, int, prot);
+#endif