]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Hurd: mmap deficiencies
authorThomas Schwinge <thomas@schwinge.name>
Thu, 10 May 2012 22:17:40 +0000 (15:17 -0700)
committerRoland McGrath <roland@hack.frob.com>
Thu, 10 May 2012 22:57:26 +0000 (15:57 -0700)
ChangeLog
nss/makedb.c

index e52cd67f4727286946e2f193292ce025f91b30ce..04f67f0dd92f12d0adc5ac0488759a9e1d6d8bc4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,12 @@
+2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
+
+       * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
+
 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
-        Fix mlock in all cases except non-readable pages.
-        * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
-        instead of VM_PROT_ALL as parameter to __vm_wire function.
+       Fix mlock in all cases except non-readable pages.
+       * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
+       instead of VM_PROT_ALL as parameter to __vm_wire function.
 
        * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
        (__mkdir): When path is `/', just fail with EEXIST.
index 5c073a7440c0d2642008b6c3c9fd74db163728fc..5890c054f0f222591cdbb4107a85008c0592c797 100644 (file)
 # include <selinux/selinux.h>
 #endif
 
+#ifndef MAP_POPULATE
+# define MAP_POPULATE 0
+#endif
+
 #define PACKAGE _libc_intl_domainname
 
 /* List of data bases.  */