freebsd-src/sys/i386
Conrad Meyer 5bd0149714 x86 pmap: Make memory mapped via pmap_qenter() non-executable
The idea is, the pmap_qenter() API is now defined to not produce executable
mappings.  If you need executable mappings, use another API.

Add pg_nx flag in pmap_qenter on x86 to make kernel pages non-executable.

Other architectures that support execute-specific permissons on page table
entries should subsequently be updated to match.

Submitted by:	Darrick Lew <darrick.freebsd AT gmail.com>
Reviewed by:	markj
Discussed with:	alc, jhb, kib
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D14062
2018-02-14 23:35:47 +00:00
..
acpica Minor cleanups found while fixing a bug involving double mapping of low 2017-12-15 03:05:14 +00:00
bios inittodr(0) actually sets the time, so there's no need to call 2018-01-10 17:25:08 +00:00
cloudabi32 Use TO_PTR() to convert integers to pointers. 2017-11-26 14:45:56 +00:00
conf Import the mthca kernel side infiniband driver from Linux 4.9 and fix 2018-02-13 17:04:34 +00:00
i386 x86 pmap: Make memory mapped via pmap_qenter() non-executable 2018-02-14 23:35:47 +00:00
ibcs2 Don't use an .OBJDIR for 'make sysent'. 2018-01-29 19:14:15 +00:00
include We don't support gcc < 4.2.1, so varargs.h now is just #error 2018-02-12 14:48:14 +00:00
linux Additional linuxolator whitespace cleanup, missed in r328890 2018-02-05 18:39:06 +00:00
pci sys/i386: further adoption of SPDX licensing ID tags. 2017-11-27 15:08:52 +00:00
Makefile