Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Don't export MAP_COPY to userland. It's deprecated, ...
details: https://anonhg.NetBSD.org/src/rev/686cf8bbe3e3
branches: trunk
changeset: 473741:686cf8bbe3e3
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Jun 17 21:07:55 1999 +0000
description:
Don't export MAP_COPY to userland. It's deprecated, works like MAP_PRIVATE,
and not described by any standard.
diffstat:
sys/sys/mman.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 87987f0efa60 -r 686cf8bbe3e3 sys/sys/mman.h
--- a/sys/sys/mman.h Thu Jun 17 21:05:19 1999 +0000
+++ b/sys/sys/mman.h Thu Jun 17 21:07:55 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mman.h,v 1.22 1999/06/15 23:27:48 thorpej Exp $ */
+/* $NetBSD: mman.h,v 1.23 1999/06/17 21:07:55 thorpej Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@@ -61,7 +61,14 @@
*/
#define MAP_SHARED 0x0001 /* share changes */
#define MAP_PRIVATE 0x0002 /* changes are private */
+
+#ifdef _KERNEL
+/*
+ * Deprecated flag; these are treated as MAP_PRIVATE internally by
+ * the kernel.
+ */
#define MAP_COPY 0x0004 /* "copy" region at mmap time */
+#endif
/*
* Other flags
Home |
Main Index |
Thread Index |
Old Index