Displaying 2 results from an estimated 2 matches for "rb_allocated".
Did you mean:
b_allocated
2002 Jun 25
2
Help wanted: configure test for busted mmap
Linux 2.2 (and probably others) have a deficient mmap which has caused a
number of problems (e.g. bug #285).
A workaround is in development, but it would be helpful to have a
configure test to detect the bad mmaps().
Any takers?
-d
2002 Jun 26
0
IRIX 6.5 patch for Compression with UsePrivilegeSeparation
...rror(errno));
+ close (fd_zero);
+#elif defined(HAVE_MMAP_ANON_SHARED)
address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED,
-1, 0);
if (address == MAP_FAILED)
@@ -130,7 +142,7 @@
mm_freelist(mm->mmalloc, &mm->rb_free);
mm_freelist(mm->mmalloc, &mm->rb_allocated);
-#ifdef HAVE_MMAP_ANON_SHARED
+#if defined(HAVE_MMAP_ANON_SHARED) || defined(HAVE_MMAP_DEV_ZERO)
if (munmap(mm->address, mm->size) == -1)
fatal("munmap(%p, %lu): %s", mm->address, (u_long)mm->size,
strerror(errno));
--- ./configure Wed Jun 26 10:08:18 2002
+++...