freebsd-dev/sys/compat
Dmitry Chagin 97d06da692 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
2016-07-10 08:22:04 +00:00
..
cloudabi Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
cloudabi64 Make CloudABI's way of doing TLS more friendly to userspace emulators. 2016-04-06 11:11:31 +00:00
freebsd32 Generate syscall tables and update pipe() implementation after r302094. 2016-06-22 21:18:19 +00:00
ia32 Implement vsyscall hack. Prior to 2.13 glibc uses vsyscall 2016-01-09 20:18:53 +00:00
linprocfs swap_dev_info() does not require Giant, so Giant locking around 2016-06-12 11:13:38 +00:00
linsysfs Add support to the jail framework to be able to mount linsysfs(5) and 2015-07-19 08:52:35 +00:00
linux Fix a copy/paste bug introduced during X86_64 Linuxulator work. 2016-07-10 08:22:04 +00:00
linuxkpi/common Add a missing error check for a malloc() call in idr_get(). 2016-06-14 03:57:00 +00:00
ndis ndis(4): Undo unneeded workarounds in ndis' rand(). 2016-05-22 14:13:20 +00:00
netbsd Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
svr4 Regen post r302096 and implement svr4_pipe(). 2016-06-23 00:30:09 +00:00
x86bios x86bios: spelling fix in a comment. 2016-04-30 00:34:04 +00:00