summaryrefslogtreecommitdiffstats
path: root/sys/modules/linux_common
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-07-18 16:38:06 +0000
committerdchagin <dchagin@FreeBSD.org>2016-07-18 16:38:06 +0000
commit4188ab5f11c8ca7f88ef10c16a0142b825be793a (patch)
treea181e54bb5eb81dd5dda106d3c87c3b757cc8c20 /sys/modules/linux_common
parent899ae9ac6c6805c6f984f338c9f4d3b3f3b0375b (diff)
downloadFreeBSD-src-4188ab5f11c8ca7f88ef10c16a0142b825be793a.zip
FreeBSD-src-4188ab5f11c8ca7f88ef10c16a0142b825be793a.tar.gz
MFC r302517:
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 Approved by: re (gjb)
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 91449f7..2301796 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=
OpenPOWER on IntegriCloud