mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Hurd: mmap deficiencies
This commit is contained in:
parent
66cbbebcc6
commit
8069478040
10
ChangeLog
10
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>
|
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
Fix mlock in all cases except non-readable pages.
|
Fix mlock in all cases except non-readable pages.
|
||||||
* sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
|
* sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
|
||||||
instead of VM_PROT_ALL as parameter to __vm_wire function.
|
instead of VM_PROT_ALL as parameter to __vm_wire function.
|
||||||
|
|
||||||
* sysdeps/mach/hurd/mkdir.c: Include <string.h>.
|
* sysdeps/mach/hurd/mkdir.c: Include <string.h>.
|
||||||
(__mkdir): When path is `/', just fail with EEXIST.
|
(__mkdir): When path is `/', just fail with EEXIST.
|
||||||
|
@ -48,6 +48,10 @@
|
|||||||
# include <selinux/selinux.h>
|
# include <selinux/selinux.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MAP_POPULATE
|
||||||
|
# define MAP_POPULATE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define PACKAGE _libc_intl_domainname
|
#define PACKAGE _libc_intl_domainname
|
||||||
|
|
||||||
/* List of data bases. */
|
/* List of data bases. */
|
||||||
|
Loading…
Reference in New Issue
Block a user