diff options
| author | Dmitry Chagin <dchagin@FreeBSD.org> | 2016-07-10 08:22:04 +0000 |
|---|---|---|
| committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2016-07-10 08:22:04 +0000 |
| commit | 97d06da6923d91fea748c5e153bb1abbd220cefa (patch) | |
| tree | 926712dd0d94c863275c084e5263c06baa020c36 /sys/modules/linux/Makefile | |
| parent | ab231b83ea0cb89660a2f7f41def1555eb89d616 (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/Makefile')
| -rw-r--r-- | sys/modules/linux/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index f2629723d404..d1707c92e91e 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -30,7 +30,7 @@ SRCS+= opt_apic.h OBJS= ${VDSO}.so .if ${MACHINE_CPUARCH} == "i386" -SRCS+= linux_ptrace.c imgact_linux.c linux_util.c linux_mib.c \ +SRCS+= linux_ptrace.c imgact_linux.c linux_util.c linux_mib.c linux_mmap.c \ linux_emul.c opt_cpu.h linux.c .endif |
