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

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -