Module Name: src Committed By: maxv Date: Sun Aug 12 08:17:50 UTC 2018
Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/include: pmap.h vmparam.h src/sys/arch/x86/x86: pmap.c Log Message: More ASLR: randomize the kernel main memory. VM_MIN_KERNEL_ADDRESS becomes variable, and its location is chosen at boot time. There is room for improvement, since for now we ask for an alignment of NBPD_L4. This is enabled by default in GENERIC, but not in Xen. Tested extensively on GENERIC and GENERIC_KASLR, XEN3_DOM0 still boots fine. To generate a diff of this commit: cvs rdiff -u -r1.309 -r1.310 src/sys/arch/amd64/amd64/machdep.c cvs rdiff -u -r1.48 -r1.49 src/sys/arch/amd64/include/pmap.h cvs rdiff -u -r1.45 -r1.46 src/sys/arch/amd64/include/vmparam.h cvs rdiff -u -r1.295 -r1.296 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.