summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux.h
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-07-17 15:23:32 +0000
committerdchagin <dchagin@FreeBSD.org>2016-07-17 15:23:32 +0000
commit98960de4ab0561ab3ca3ee2e1bb5cc8657d28b60 (patch)
treef201a148eae2ad1b79e9be4db6eca782d08021d1 /sys/i386/linux/linux.h
parent1886392a37bb83dd12e785503919165a4a747671 (diff)
downloadFreeBSD-src-98960de4ab0561ab3ca3ee2e1bb5cc8657d28b60.zip
FreeBSD-src-98960de4ab0561ab3ca3ee2e1bb5cc8657d28b60.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. MFC r302518, r302626: Add linux_mmap.c to the appropriate conf/files.
Diffstat (limited to 'sys/i386/linux/linux.h')
-rw-r--r--sys/i386/linux/linux.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h
index 36b2084..42e836c 100644
--- a/sys/i386/linux/linux.h
+++ b/sys/i386/linux/linux.h
@@ -140,13 +140,6 @@ struct l_rlimit {
l_ulong rlim_max;
};
-/* mmap options */
-#define LINUX_MAP_SHARED 0x0001
-#define LINUX_MAP_PRIVATE 0x0002
-#define LINUX_MAP_FIXED 0x0010
-#define LINUX_MAP_ANON 0x0020
-#define LINUX_MAP_GROWSDOWN 0x0100
-
struct l_mmap_argv {
l_uintptr_t addr;
l_size_t len;
OpenPOWER on IntegriCloud