diff options
author | dillon <dillon@FreeBSD.org> | 2001-08-24 18:22:46 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-08-24 18:22:46 +0000 |
commit | 7f91d3a7736fe15fe5f41287d9289b75a5b28825 (patch) | |
tree | 7256db3bfc3271095124d678fd69d8eb5048b8b6 | |
parent | acc07169ae950a0da799c1f5a8bcf691f187b38d (diff) | |
download | FreeBSD-src-7f91d3a7736fe15fe5f41287d9289b75a5b28825.zip FreeBSD-src-7f91d3a7736fe15fe5f41287d9289b75a5b28825.tar.gz |
Remove MAP_NOEXTEND. It came from 4.4-lite and not only was never
implemented, but mmap()'s default behavior is *already* to not extend
files. Only write() or ftruncate() can extend a file.
-rw-r--r-- | sys/sys/mman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h index 9405464..9aa020a 100644 --- a/sys/sys/mman.h +++ b/sys/sys/mman.h @@ -62,7 +62,7 @@ #define MAP_RENAME 0x0020 /* Sun: rename private pages to file */ #define MAP_NORESERVE 0x0040 /* Sun: don't reserve needed swap area */ #define MAP_INHERIT 0x0080 /* region is retained after exec */ -#define MAP_NOEXTEND 0x0100 /* for MAP_FILE, don't change file size */ +#define MAP_RESERVED0100 0x0100 /* previously unimplemented MAP_NOEXTEND */ #define MAP_HASSEMAPHORE 0x0200 /* region may contain semaphores */ #define MAP_STACK 0x0400 /* region grows down, like a stack */ #define MAP_NOSYNC 0x0800 /* page to but do not sync underlying file */ |