]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r302517:
authordchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jul 2016 15:23:32 +0000 (15:23 +0000)
committerdchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jul 2016 15:23:32 +0000 (15:23 +0000)
commit37e6f54457f101b9d2a2d538ad627ab685ceb46d
treef201a148eae2ad1b79e9be4db6eca782d08021d1
parent4897c15eff962b0c352e85e6a018e34521523f82
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.

MFC r302518, r302626:

Add linux_mmap.c to the appropriate conf/files.

git-svn-id: svn://svn.freebsd.org/base/stable/10@302964 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
13 files changed:
sys/amd64/linux/linux.h
sys/amd64/linux/linux_machdep.c
sys/amd64/linux32/linux.h
sys/amd64/linux32/linux32_machdep.c
sys/compat/linux/linux_mmap.c [new file with mode: 0644]
sys/compat/linux/linux_mmap.h [new file with mode: 0644]
sys/conf/files.amd64
sys/conf/files.i386
sys/conf/files.pc98
sys/i386/linux/linux.h
sys/i386/linux/linux_machdep.c
sys/modules/linux/Makefile
sys/modules/linux_common/Makefile