page-info icon indicating copy to clipboard operation
page-info copied to clipboard

Implement a setuid binary to do the needs-root work for non-root programs

Open travisdowns opened this issue 6 years ago • 0 comments

Currently page-info has the big flaw that much of the interesting information can't be obtained without root (at least in recent 4.x kernels) because the PFN is not available to non-root programs (thanks rowhammer!).

A good suggestion is to have an optional setuid binary that basically just interacts with the /proc/pagemap and /proc/kpagemap for you and returns the result through the same API. I guess something like forking the process and passing the addresses over stdin and read the results over stdout.

travisdowns avatar Mar 05 '19 18:03 travisdowns