Hurd: mmap deficiencies

This commit is contained in:
Thomas Schwinge 2012-05-10 15:17:40 -07:00 committed by Roland McGrath
parent 66cbbebcc6
commit 8069478040
2 changed files with 11 additions and 3 deletions

View File

@ -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.

View File

@ -48,6 +48,10 @@
# include <selinux/selinux.h>
#endif
#ifndef MAP_POPULATE
# define MAP_POPULATE 0
#endif
#define PACKAGE _libc_intl_domainname
/* List of data bases. */