diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | monitor_mm.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -4,6 +4,8 @@ | |||
4 | to -h on testing for /bin being symbolic link | 4 | to -h on testing for /bin being symbolic link |
5 | - (bal) Mistaken in Cygwin scripts for ssh starting. Patch by | 5 | - (bal) Mistaken in Cygwin scripts for ssh starting. Patch by |
6 | Corinna Vinschen <vinschen@redhat.com> | 6 | Corinna Vinschen <vinschen@redhat.com> |
7 | - (bal) disable privsep if no MAP_ANON. We can re-enable it | ||
8 | after the release when we can do more testing. | ||
7 | 9 | ||
8 | 20020411 | 10 | 20020411 |
9 | - (stevesk) [auth-sia.c] cleanup | 11 | - (stevesk) [auth-sia.c] cleanup |
@@ -8229,4 +8231,4 @@ | |||
8229 | - Wrote replacements for strlcpy and mkdtemp | 8231 | - Wrote replacements for strlcpy and mkdtemp |
8230 | - Released 1.0pre1 | 8232 | - Released 1.0pre1 |
8231 | 8233 | ||
8232 | $Id: ChangeLog,v 1.2049 2002/04/12 17:44:13 mouring Exp $ | 8234 | $Id: ChangeLog,v 1.2050 2002/04/12 18:51:22 mouring Exp $ |
diff --git a/monitor_mm.c b/monitor_mm.c index 3231c8786..993925e48 100644 --- a/monitor_mm.c +++ b/monitor_mm.c | |||
@@ -84,7 +84,7 @@ mm_create(struct mm_master *mmalloc, size_t size) | |||
84 | */ | 84 | */ |
85 | mm->mmalloc = mmalloc; | 85 | mm->mmalloc = mmalloc; |
86 | 86 | ||
87 | #ifdef HAVE_MMAP | 87 | #if defined(HAVE_MMAP) && defined(MAP_ANON) |
88 | address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, | 88 | address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, |
89 | -1, 0); | 89 | -1, 0); |
90 | if (address == MAP_FAILED) | 90 | if (address == MAP_FAILED) |