]> andersk Git - openssh.git/blobdiff - monitor_mm.c
- (stevesk) wrap munmap() with HAVE_MMAP also.
[openssh.git] / monitor_mm.c
index b9ea978a6604c3074163f77b2ae2c740a74f5a5b..3231c8786505faa1079bbc7188b863254744327e 100644 (file)
@@ -130,8 +130,13 @@ mm_destroy(struct mm_master *mm)
        mm_freelist(mm->mmalloc, &mm->rb_free);
        mm_freelist(mm->mmalloc, &mm->rb_allocated);
 
+#ifdef HAVE_MMAP
        if (munmap(mm->address, mm->size) == -1)
                fatal("munmap(%p, %lu)", mm->address, (u_long)mm->size);
+#else
+       fatal("%s: UsePrivilegeSeparation=yes not supported",
+           __FUNCTION__);
+#endif
        if (mm->mmalloc == NULL)
                xfree(mm);
        else
This page took 0.031641 seconds and 4 git commands to generate.