Date: Thu, 6 Apr 2017 10:52:52 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316565 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201704061052.v36AqqCt009635@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Thu Apr 6 10:52:52 2017 New Revision: 316565 URL: https://svnweb.freebsd.org/changeset/base/316565 Log: Define VM_READ, VM_WRITE and VM_EXEC in the LinuxKPI. MFC after: 1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common/include/linux/mm.h Modified: head/sys/compat/linuxkpi/common/include/linux/mm.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/mm.h Thu Apr 6 10:29:54 2017 (r316564) +++ head/sys/compat/linuxkpi/common/include/linux/mm.h Thu Apr 6 10:52:52 2017 (r316565) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704061052.v36AqqCt009635>