[Crash-utility] [PATCH 2/2] kaslr: get offset by walking page tree

Alexey Makhalov amakhalov at vmware.com
Tue Oct 27 00:52:15 UTC 2020


Hi Lianbo,

Thanks for review.

> Would it be good to add a flag checking for the 5-level paging before calling
> the find_kernel_start()? Seems that we can not check the machdep->flags with
> the 'machdep->flags & VM_5LEVEL', because that is not initialized.
> 
> But, is that possible to check the CR4(vmss.regs64[0]->cr[4]) on x86 or the
> symbols '__pgtable_l5_enabled’?
> 

Will do! —Alexey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20201027/b690bb4b/attachment.sig>


More information about the Crash-utility mailing list