mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-11-03 20:53:13 +03:00 
			
		
		
		
	Update.
* sysdeps/unix/sysv/linux/cris/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
This commit is contained in:
		@@ -3,6 +3,7 @@
 | 
				
			|||||||
	* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define PROT_GROWSDOWN
 | 
						* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define PROT_GROWSDOWN
 | 
				
			||||||
	and PROT_GROWSUP.
 | 
						and PROT_GROWSUP.
 | 
				
			||||||
	* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
 | 
						* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
 | 
				
			||||||
 | 
						* sysdeps/unix/sysv/linux/cris/bits/mman.h: Likewise.
 | 
				
			||||||
	* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
 | 
						* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
 | 
				
			||||||
	* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
 | 
						* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
 | 
				
			||||||
	* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
 | 
						* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
 | 
				
			||||||
@@ -11,6 +12,7 @@
 | 
				
			|||||||
	* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
 | 
						* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
 | 
				
			||||||
	* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
 | 
						* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
 | 
				
			||||||
	* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
 | 
						* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
 | 
				
			||||||
 | 
						* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2003-09-25  Jakub Jelinek  <jakub@redhat.com>
 | 
					2003-09-25  Jakub Jelinek  <jakub@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	  0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	  0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	  0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	  0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	  0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	  0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	  0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	  0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	  0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	  0x01		/* Share changes.  */
 | 
				
			||||||
@@ -52,7 +56,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* Not used by Linux, but here to make sure we don't clash with
 | 
					/* Not used by Linux, but here to make sure we don't clash with
 | 
				
			||||||
   OSF/1 defines.  */
 | 
					   OSF/1 defines.  */
 | 
				
			||||||
#if 0 && defined(__USE_BSD)
 | 
					#if 0 && defined __USE_BSD
 | 
				
			||||||
# define MAP_HASSEMAPHORE 0x0200
 | 
					# define MAP_HASSEMAPHORE 0x0200
 | 
				
			||||||
# define MAP_INHERIT	  0x0400
 | 
					# define MAP_INHERIT	  0x0400
 | 
				
			||||||
# define MAP_UNALIGNED	  0x0800
 | 
					# define MAP_UNALIGNED	  0x0800
 | 
				
			||||||
@@ -104,7 +108,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* Not used by Linux, but here to make sure we don't clash with
 | 
					/* Not used by Linux, but here to make sure we don't clash with
 | 
				
			||||||
   OSF/1 defines.  */
 | 
					   OSF/1 defines.  */
 | 
				
			||||||
#if 0 && defined(__USE_BSD)
 | 
					#if 0 && defined __USE_BSD
 | 
				
			||||||
# define MADV_DONTNEED_COMPAT 4	/* Old version?  */
 | 
					# define MADV_DONTNEED_COMPAT 4	/* Old version?  */
 | 
				
			||||||
# define MADV_SPACEAVAIL 5	/* Ensure resources are available.  */
 | 
					# define MADV_SPACEAVAIL 5	/* Ensure resources are available.  */
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	0x01		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
/* Definitions for POSIX memory map interface.  Linux/CRIS version.
 | 
					/* Definitions for POSIX memory map interface.  Linux/CRIS version.
 | 
				
			||||||
   Copyright (C) 1997, 2000, 2001 Free Software Foundation, Inc.
 | 
					   Copyright (C) 1997, 2000, 2001, 2003 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
 | 
				
			||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	0x01		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,6 +27,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* page can be written */
 | 
					#define PROT_WRITE	0x2		/* page can be written */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* page can be executed */
 | 
					#define PROT_EXEC	0x4		/* page can be executed */
 | 
				
			||||||
#define PROT_NONE	0x0		/* page can not be accessed */
 | 
					#define PROT_NONE	0x0		/* page can not be accessed */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MAP_SHARED	0x01		/* Share changes */
 | 
					#define MAP_SHARED	0x01		/* Share changes */
 | 
				
			||||||
#define MAP_PRIVATE	0x02		/* Changes are private */
 | 
					#define MAP_PRIVATE	0x02		/* Changes are private */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	0x01		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	  0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	  0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	  0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	  0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	  0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	  0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	  0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	  0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	  0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	  0x01		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	0x01		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	0x001		/* Share changes.  */
 | 
					#define MAP_SHARED	0x001		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	0x01		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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 Free Software Foundation, Inc.
 | 
					   Copyright (C) 1997, 1999, 2000, 2003 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
 | 
				
			||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	0x01		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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 Free Software Foundation, Inc.
 | 
					   Copyright (C) 1997, 1999, 2000, 2003 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
 | 
				
			||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	0x01		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,10 @@
 | 
				
			|||||||
#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
					#define PROT_WRITE	0x2		/* Page can be written.  */
 | 
				
			||||||
#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
					#define PROT_EXEC	0x4		/* Page can be executed.  */
 | 
				
			||||||
#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
					#define PROT_NONE	0x0		/* Page can not be accessed.  */
 | 
				
			||||||
 | 
					#define PROT_GROWSDOWN	0x01000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsdown vma (mprotect only).  */
 | 
				
			||||||
 | 
					#define PROT_GROWSUP	0x02000000	/* Extend change to start of
 | 
				
			||||||
 | 
										   growsup vma (mprotect only).  */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Sharing types (must choose one and only one of these).  */
 | 
					/* Sharing types (must choose one and only one of these).  */
 | 
				
			||||||
#define MAP_SHARED	0x01		/* Share changes.  */
 | 
					#define MAP_SHARED	0x01		/* Share changes.  */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user