aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux_common
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2016-07-10 08:22:04 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2016-07-10 08:22:04 +0000
commit97d06da6923d91fea748c5e153bb1abbd220cefa (patch)
tree926712dd0d94c863275c084e5263c06baa020c36 /sys/modules/linux_common
parentab231b83ea0cb89660a2f7f41def1555eb89d616 (diff)
Fix a copy/paste bug introduced during X86_64 Linuxulator work.
FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation use READ_IMPLIES_EXEC flag, introduced in r302515. While here move common part of mmap() and mprotect() code to the files in compat/linux to reduce code dupcliation between Linuxulator's. Reported by: Johannes Jost Meixner, Shawn Webb MFC after: 1 week XMFC with: r302515, r302516
Notes
svn path=/head/; revision=302517
Diffstat (limited to 'sys/modules/linux_common')
-rw-r--r--sys/modules/linux_common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/linux_common/Makefile b/sys/modules/linux_common/Makefile
index 91449f774ef5..2301796230b0 100644
--- a/sys/modules/linux_common/Makefile
+++ b/sys/modules/linux_common/Makefile
@@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../../compat/linux
KMOD= linux_common
-SRCS= linux_common.c linux_mib.c linux_util.c linux_emul.c \
+SRCS= linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
linux.c opt_compat.h device_if.h vnode_if.h bus_if.h
EXPORT_SYMS=