patch-1.3.43 linux/include/asm-i386/mman.h

Next file: linux/include/asm-i386/page.h
Previous file: linux/include/asm-alpha/resource.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.42/linux/include/asm-i386/mman.h linux/include/asm-i386/mman.h
@@ -15,9 +15,13 @@
 #define MAP_GROWSDOWN	0x0100		/* stack-like segment */
 #define MAP_DENYWRITE	0x0800		/* ETXTBSY */
 #define MAP_EXECUTABLE	0x1000		/* mark it as a executable */
+#define MAP_LOCKED	0x2000		/* pages are locked */
 
 #define MS_ASYNC	1		/* sync memory asynchronously */
 #define MS_INVALIDATE	2		/* invalidate the caches */
 #define MS_SYNC		4		/* synchronous memory sync */
+
+#define MCL_CURRENT	1		/* lock all current mappings */
+#define MCL_FUTURE	2		/* lock all future mappings */
 
 #endif /* __I386_MMAN_H__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this