From 98960de4ab0561ab3ca3ee2e1bb5cc8657d28b60 Mon Sep 17 00:00:00 2001 From: dchagin Date: Sun, 17 Jul 2016 15:23:32 +0000 Subject: 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. --- sys/conf/files.amd64 | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/conf/files.amd64') diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64 index 380ac59..2adb9bf 100644 --- a/sys/conf/files.amd64 +++ b/sys/conf/files.amd64 @@ -544,6 +544,7 @@ compat/linux/linux_ioctl.c optional compat_linux32 compat/linux/linux_ipc.c optional compat_linux32 compat/linux/linux_mib.c optional compat_linux32 compat/linux/linux_misc.c optional compat_linux32 +compat/linux/linux_mmap.c optional compat_linux32 compat/linux/linux_signal.c optional compat_linux32 compat/linux/linux_socket.c optional compat_linux32 compat/linux/linux_stats.c optional compat_linux32 -- cgit v1.1