NetBSD/sys/arch/amd64/conf
maxv 2b26583164 Increase KERNTEXTOFF from 1MB to 2MB on amd64. [1MB; 2MB[ is now handled
by UVM, so there is no physical loss.

On amd64 we always remap the kernel text with 2MB pages, and because of the
1MB start address we were forced to map [0MB; 2MB[ inside the first large
page. The problem is, the lower half is used by UVM to allocate physical
pages, and it is possible that some of these could be used by userland. We
could end up with userland-controllable data mapped into the kernel text on
a privileged page, which is far from being a good idea from a security pov.

I am not fixing i386 yet, because the large page size depends on PAE, and
we probably don't want to have a text located at 4MB on low-memory systems.

(note: I didn't introduce this issue, it was already there when I came in)
2017-02-02 19:09:08 +00:00
..
ALL white space police 2017-01-12 05:24:36 +00:00
files.amd64 Add support for hardware assisted watchpoints/breakpoints API in ptrace(2) 2016-12-15 12:04:17 +00:00
GENERIC white space police 2017-01-12 05:24:36 +00:00
GENERIC_USERMODE Whitespace. 2016-12-18 04:35:26 +00:00
INSTALL Whitespace. 2016-12-18 04:35:26 +00:00
INSTALL_XEN3_DOMU many whitespace cleanup. 2011-05-28 16:58:51 +00:00
kern.ldscript Map the data+bss chunk independently on amd64, and remove the X 2016-05-12 09:05:16 +00:00
kern.ldscript.Xen Align the segments properly, and split text+rodata in two separate segments 2016-08-02 14:03:34 +00:00
majors.amd64 white space police 2017-01-12 05:24:36 +00:00
Makefile.amd64 Increase KERNTEXTOFF from 1MB to 2MB on amd64. [1MB; 2MB[ is now handled 2017-02-02 19:09:08 +00:00
MODULAR Whitespace. 2016-12-18 04:35:26 +00:00
RNDVERBOSE Merge tls-earlyentropy branch into HEAD. 2014-08-10 16:44:32 +00:00
std.amd64 white space police 2017-01-12 05:24:36 +00:00
std.xen white space police 2017-01-12 05:24:36 +00:00
XEN3_DOM0 PR/51908: Kyle Amon: Allow customization of XEN kernels via .local files. 2017-01-23 17:35:34 +00:00
XEN3_DOMU PR/51908: Kyle Amon: Allow customization of XEN kernels via .local files. 2017-01-23 17:35:34 +00:00