pagemap.h: fix missing pread offset

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/125
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-07-23 01:00:00 +00:00
parent 12d5c9c947
commit cdf2875a61
2 changed files with 5 additions and 2 deletions

View File

@@ -8173,7 +8173,10 @@ vaddr pfn soft-dirty file/shared swapped present library
7ffff78ec000 1fd4 0 1 0 1 /lib/libuClibc-1.0.30.so
....
Source: link:userland/linux/pagemap_dump.c[]
Source:
* link:userland/linux/pagemap_dump.c[]
* link:lkmc/pagemap.h[]
Adapted from: https://github.com/dwks/pagemap/blob/8a25747bc79d6080c8b94eac80807a4dceeda57a/pagemap2.c