#
bb9e3313 |
|
07-May-2018 |
Thomas Garnier <thgarnie@google.com> |
[kernel][kaslr] Create static relocation Add static relocation for x64 and arm64 using the kernel_relocated_base global variable. Add the DISABLE_KASLR option. Remove any dependency to KERNEL_BASE when __code_start should be used. Change symbolize script to dump kaslr offset and correctly show static addresses. Adapt gdb script to identify KASLR relocation at early boot or if attached later. x64 specific: - Simplify page table to use kernel_relocated_base - Fix zedboot and multiboot dependencies on the static kernel base - Ensure 16-bit boot path is relocated for secondary CPUs SEC-31 #comment Add static relocation of the kernel module Change-Id: I9acb0a53a82c2bbf9973921e4cfe60a1e03c7006
|