From 9889c8791b5277e79af660e0c722459ff5bc3e65 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 16 Mar 2009 06:16:15 +0000 Subject: enable mprotect() regardless of MMU as some systems have MPUs which allows memory protection --- libc/sysdeps/linux/common/mprotect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/common/mprotect.c b/libc/sysdeps/linux/common/mprotect.c index a0e7610fd..d60fc04d6 100644 --- a/libc/sysdeps/linux/common/mprotect.c +++ b/libc/sysdeps/linux/common/mprotect.c @@ -10,6 +10,6 @@ #include #include -#if defined __ARCH_USE_MMU__ && defined __NR_mprotect +#if defined __NR_mprotect _syscall3(int, mprotect, void *, addr, size_t, len, int, prot) #endif -- cgit v1.2.3