summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux.h
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/i386/linux/linux.h
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/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