diff options
Diffstat (limited to 'libc/sysdeps/linux/cris/bits')
-rw-r--r-- | libc/sysdeps/linux/cris/bits/mman.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/cris/bits/mman.h b/libc/sysdeps/linux/cris/bits/mman.h index b1f22a1c4..ec9d2a558 100644 --- a/libc/sysdeps/linux/cris/bits/mman.h +++ b/libc/sysdeps/linux/cris/bits/mman.h @@ -1,5 +1,5 @@ -/* Definitions for POSIX memory map interface. Linux/cris version. - Copyright (C) 1997, 2000 Free Software Foundation, Inc. +/* Definitions for POSIX memory map interface. Linux/CRIS version. + 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 @@ -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. */ |