Define VM_READ, VM_WRITE and VM_EXEC in the LinuxKPI.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2017-04-06 10:52:52 +00:00
parent fc51649e31
commit 480e2fd3d5

View File

@ -50,6 +50,10 @@
*/
CTASSERT((VM_PROT_ALL & -(1 << 8)) == 0);
#define VM_READ VM_PROT_READ
#define VM_WRITE VM_PROT_WRITE
#define VM_EXEC VM_PROT_EXECUTE
#define VM_PFNINTERNAL (1 << 8) /* FreeBSD private flag to vm_insert_pfn() */
#define VM_MIXEDMAP (1 << 9)
#define VM_NORESERVE (1 << 10)