2.5-18.1
[jlayton/glibc.git] / sysdeps / unix / sysv / linux / alpha / bits / mman.h
index bb41887479debea385a9b26346b4106c9aa292f2..2f0e5649163d8e4f0dfc151832cba3a00ad1e0a5 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/Alpha version.
-   Copyright (C) 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 2000, 2003, 2006 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
@@ -86,6 +86,7 @@
 /* Flags for `mremap'.  */
 #ifdef __USE_GNU
 # define MREMAP_MAYMOVE        1
+# define MREMAP_FIXED  2
 #endif
 
 /* Advice to `madvise'.  */
@@ -95,6 +96,9 @@
 # define MADV_SEQUENTIAL 2     /* Expect sequential page references.  */
 # define MADV_WILLNEED   3     /* Will need these pages.  */
 # define MADV_DONTNEED   6     /* Don't need these pages.  */
+# define MADV_REMOVE    9      /* Remove these pages and resources.  */
+# define MADV_DONTFORK  10     /* Do not inherit across fork.  */
+# define MADV_DOFORK    11     /* Do inherit across fork.  */
 #endif
 
 /* The POSIX people had to invent similar names for the same things.  */