linux - Reading userspace memory from kernel module -
In a kernel module, I restart through all the processes and vm_start
and Vm_end address
The problem is that these addresses are in Userspace and from the kernel module, I will need to map them through kmap
the issue which I Playing is that when users are using follow_page
to get access to the page, half of them If this taps, possibly because there is a better way to read UserSpace memory or is there a way to solve the mistake and try to read it again?
If there is a better way to present, please mention it.
Comments
Post a Comment