aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-12-15 01:00:48 +0000
committerRoland McGrath <roland@gnu.org>2004-12-15 01:00:48 +0000
commit9f60a0cb5aba12760c29a1dc3a0c4867cdc12ff6 (patch)
tree14984f267068bd9199b927cced3e11eefa6a293a /sysdeps
parent865d953fc91d50b2693ab31ef7867ddac9f43ad2 (diff)
downloadglibc-9f60a0cb5aba12760c29a1dc3a0c4867cdc12ff6.tar
glibc-9f60a0cb5aba12760c29a1dc3a0c4867cdc12ff6.tar.gz
glibc-9f60a0cb5aba12760c29a1dc3a0c4867cdc12ff6.tar.bz2
glibc-9f60a0cb5aba12760c29a1dc3a0c4867cdc12ff6.zip
2004-10-18 Maciej W. Rozycki <macro@mips.com>
* sysdeps/unix/sysv/linux/mips/bits/mman.h (PROT_GROWSDOWN, PROT_GROWSUP): New macros.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/mman.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/mman.h b/sysdeps/unix/sysv/linux/mips/bits/mman.h
index e05f2a6d4d..154501fba2 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/mman.h
@@ -1,5 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/MIPS version.
- Copyright (C) 1997, 2000, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2000, 2003, 2004 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
@@ -34,6 +34,10 @@
#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. */