mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-28 23:34:53 +03:00 
			
		
		
		
	* sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
MAP_NONBLOCK. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. Correct MAP_GROWSDOWN value.
This commit is contained in:
		| @@ -1,3 +1,10 @@ | |||||||
|  | 2005-03-10  GOTO Masanori  <gotom@debian.or.jp> | ||||||
|  |  | ||||||
|  | 	* sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and | ||||||
|  | 	MAP_NONBLOCK. | ||||||
|  | 	* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. | ||||||
|  | 	Correct MAP_GROWSDOWN value. | ||||||
|  |  | ||||||
| 2005-03-13  Roland McGrath  <roland@redhat.com> | 2005-03-13  Roland McGrath  <roland@redhat.com> | ||||||
|  |  | ||||||
| 	* elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps | 	* elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| /* Definitions for POSIX memory map interface.  Linux/SH version. | /* Definitions for POSIX memory map interface.  Linux/SH version. | ||||||
|    Copyright (C) 1997, 1999, 2000, 2003 Free Software Foundation, Inc. |    Copyright (C) 1997, 1999, 2000, 2003, 2005 Free Software Foundation, Inc. | ||||||
|    This file is part of the GNU C Library. |    This file is part of the GNU C Library. | ||||||
|  |  | ||||||
|    The GNU C Library is free software; you can redistribute it and/or |    The GNU C Library is free software; you can redistribute it and/or | ||||||
| @@ -61,6 +61,8 @@ | |||||||
| # define MAP_EXECUTABLE	0x1000		/* Mark it as an executable.  */ | # define MAP_EXECUTABLE	0x1000		/* Mark it as an executable.  */ | ||||||
| # define MAP_LOCKED	0x2000		/* Lock the mapping.  */ | # define MAP_LOCKED	0x2000		/* Lock the mapping.  */ | ||||||
| # define MAP_NORESERVE	0x4000		/* Don't check for reservations.  */ | # define MAP_NORESERVE	0x4000		/* Don't check for reservations.  */ | ||||||
|  | # define MAP_POPULATE	0x8000		/* Populate (prefault) pagetables.  */ | ||||||
|  | # define MAP_NONBLOCK	0x10000		/* Do not block on IO.  */ | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| /* Flags to `msync'.  */ | /* Flags to `msync'.  */ | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| /* Definitions for POSIX memory map interface.  Linux/SPARC version. | /* Definitions for POSIX memory map interface.  Linux/SPARC version. | ||||||
|    Copyright (C) 1997, 1999, 2000, 2003 Free Software Foundation, Inc. |    Copyright (C) 1997, 1999, 2000, 2003, 2005 Free Software Foundation, Inc. | ||||||
|    This file is part of the GNU C Library. |    This file is part of the GNU C Library. | ||||||
|  |  | ||||||
|    The GNU C Library is free software; you can redistribute it and/or |    The GNU C Library is free software; you can redistribute it and/or | ||||||
| @@ -57,12 +57,14 @@ | |||||||
|  |  | ||||||
| /* These are Linux-specific.  */ | /* These are Linux-specific.  */ | ||||||
| #ifdef __USE_MISC | #ifdef __USE_MISC | ||||||
| # define MAP_GROWSDOWN	0x0100		/* Stack-like segment.  */ | # define MAP_GROWSDOWN	0x0200		/* Stack-like segment.  */ | ||||||
| # define MAP_DENYWRITE	0x0800		/* ETXTBSY */ | # define MAP_DENYWRITE	0x0800		/* ETXTBSY */ | ||||||
| # define MAP_EXECUTABLE	0x1000		/* Mark it as an executable.  */ | # define MAP_EXECUTABLE	0x1000		/* Mark it as an executable.  */ | ||||||
| # define MAP_LOCKED	0x0100		/* Lock the mapping.  */ | # define MAP_LOCKED	0x0100		/* Lock the mapping.  */ | ||||||
| # define MAP_NORESERVE	0x0040		/* Don't check for reservations.  */ | # define MAP_NORESERVE	0x0040		/* Don't check for reservations.  */ | ||||||
| # define _MAP_NEW	0x80000000	/* Binary compatibility with SunOS.  */ | # define _MAP_NEW	0x80000000	/* Binary compatibility with SunOS.  */ | ||||||
|  | # define MAP_POPULATE	0x8000		/* Populate (prefault) pagetables.  */ | ||||||
|  | # define MAP_NONBLOCK	0x10000		/* Do not block on IO.  */ | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| /* Flags to `msync'.  */ | /* Flags to `msync'.  */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user