]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 25 Sep 2003 16:53:29 +0000 (16:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 25 Sep 2003 16:53:29 +0000 (16:53 +0000)
* sysdeps/unix/sysv/linux/cris/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.

13 files changed:
ChangeLog
sysdeps/unix/sysv/linux/alpha/bits/mman.h
sysdeps/unix/sysv/linux/arm/bits/mman.h
sysdeps/unix/sysv/linux/cris/bits/mman.h
sysdeps/unix/sysv/linux/hppa/bits/mman.h
sysdeps/unix/sysv/linux/i386/bits/mman.h
sysdeps/unix/sysv/linux/ia64/bits/mman.h
sysdeps/unix/sysv/linux/m68k/bits/mman.h
sysdeps/unix/sysv/linux/powerpc/bits/mman.h
sysdeps/unix/sysv/linux/s390/bits/mman.h
sysdeps/unix/sysv/linux/sh/bits/mman.h
sysdeps/unix/sysv/linux/sparc/bits/mman.h
sysdeps/unix/sysv/linux/x86_64/bits/mman.h

index df811bc9f759146784af8f25ee363f2c7aa4286b..700f2165601784911961643a670809a97ac1c2fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define PROT_GROWSDOWN
        and PROT_GROWSUP.
        * 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/i386/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/sh/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>
 
index 918043917bba4379697721326c5ea8c27cac8114..bb41887479debea385a9b26346b4106c9aa292f2 100644 (file)
 #define PROT_WRITE       0x2           /* Page can be written.  */
 #define PROT_EXEC        0x4           /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED       0x01          /* Share changes.  */
@@ -52,7 +56,7 @@
 
 /* Not used by Linux, but here to make sure we don't clash with
    OSF/1 defines.  */
-#if 0 && defined(__USE_BSD)
+#if 0 && defined __USE_BSD
 # define MAP_HASSEMAPHORE 0x0200
 # define MAP_INHERIT     0x0400
 # define MAP_UNALIGNED   0x0800
 
 /* Not used by Linux, but here to make sure we don't clash with
    OSF/1 defines.  */
-#if 0 && defined(__USE_BSD)
+#if 0 && defined __USE_BSD
 # define MADV_DONTNEED_COMPAT 4        /* Old version?  */
 # define MADV_SPACEAVAIL 5     /* Ensure resources are available.  */
 #endif
index c6d475b4de0e04da0f54d0cf8355ebf7391acde5..4ec683968514d441bcaa14ace31cdbd043082080 100644 (file)
 #define PROT_WRITE     0x2             /* Page can be written.  */
 #define PROT_EXEC      0x4             /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED     0x01            /* Share changes.  */
index 2813f0947d340001435f603380e45542b4382ec3..b66c0bdb689a4a8444d1e036ea3a83fdad1f34bb 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
 
    The GNU C Library is free software; you can redistribute it and/or
 #define PROT_WRITE     0x2             /* Page can be written.  */
 #define PROT_EXEC      0x4             /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED     0x01            /* Share changes.  */
index 40db9f9b90a2ea3eca7b6525db459c4593651aa3..1eb1233814d69e60ccaf51a5b019e6b4dec0c371 100644 (file)
 #define PROT_WRITE     0x2             /* page can be written */
 #define PROT_EXEC      0x4             /* page can be executed */
 #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_PRIVATE    0x02            /* Changes are private */
index c270a16b3b9c091f4afa92fc818d1ea662ac9d6a..1477aa54e2afc90e49d90242e9c2a1a4fec7631f 100644 (file)
 #define PROT_WRITE     0x2             /* Page can be written.  */
 #define PROT_EXEC      0x4             /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED     0x01            /* Share changes.  */
index 15d3e115c1f36315688ce5d7ba05ca931bba48f8..01db5be028b2e448d358c79982b2e34b2f7206da 100644 (file)
 #define PROT_WRITE       0x2           /* Page can be written.  */
 #define PROT_EXEC        0x4           /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED       0x01          /* Share changes.  */
index 350ea95bf946eeada2672cd8fbcf4d2c88175adb..815a3da88f831a09d771855008e3bea37dd03a72 100644 (file)
 #define PROT_WRITE     0x2             /* Page can be written.  */
 #define PROT_EXEC      0x4             /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED     0x01            /* Share changes.  */
index c07982ec74a7e790e23d6bd07328352c66dec9b2..8dbaf5d7b84119efdfe5304df069a42fe97f39ff 100644 (file)
 #define PROT_WRITE     0x2             /* Page can be written.  */
 #define PROT_EXEC      0x4             /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED     0x001           /* Share changes.  */
index fd52e0706dbf409ec8803f46b30a10d7c67e7c5f..ac94bb20b25bb9d3fc19478f38a5dc837de8a744 100644 (file)
 #define PROT_WRITE     0x2             /* Page can be written.  */
 #define PROT_EXEC      0x4             /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED     0x01            /* Share changes.  */
index 1c17bf616e80796cf734825622250201bcce8273..673c7295fb11ca84a97929dd68d891a5a8dfdbd9 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
 
    The GNU C Library is free software; you can redistribute it and/or
 #define PROT_WRITE     0x2             /* Page can be written.  */
 #define PROT_EXEC      0x4             /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED     0x01            /* Share changes.  */
index 7db39902df3c797ffd8a07dfbb2a5c7a49fc28b5..cc4917a54bdd33270b2a260558109e7bf148d492 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
 
    The GNU C Library is free software; you can redistribute it and/or
 #define PROT_WRITE     0x2             /* Page can be written.  */
 #define PROT_EXEC      0x4             /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED     0x01            /* Share changes.  */
index ae7319140a162b20f870fa488905e0ecd83228aa..a7bac2693553c5a47a9855741135e7df24b03814 100644 (file)
 #define PROT_WRITE     0x2             /* Page can be written.  */
 #define PROT_EXEC      0x4             /* Page can be executed.  */
 #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).  */
 #define MAP_SHARED     0x01            /* Share changes.  */