bdpayne/libvmi — pull request #116 by tklengyel (2013-10-24 11:44:16+00:00)
Title: Fix linux_get_taskstruct_addr_from_pgd

Incorrect pgd value was getting translated to a physical address, resulting in no PID being returned when using vmi_dtb_to_pid on linux. In the loop pgd is the value as it is in the CR3 (physical) and task_pgd is the one that needs to be translated.