svn commit: trunk/uClibc/libc/sysdeps/linux/common
vapier at uclibc.org
vapier at uclibc.org
Fri Dec 8 03:39:59 UTC 2006
Author: vapier
Date: 2006-12-07 19:39:59 -0800 (Thu, 07 Dec 2006)
New Revision: 16807
Log:
if __NR_mprotect does not exist, dont try and create a syscall for it
Modified:
trunk/uClibc/libc/sysdeps/linux/common/mprotect.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/mprotect.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/mprotect.c 2006-12-08 03:39:07 UTC (rev 16806)
+++ trunk/uClibc/libc/sysdeps/linux/common/mprotect.c 2006-12-08 03:39:59 UTC (rev 16807)
@@ -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
More information about the uClibc-cvs
mailing list