The NZ Linux Resource

[WaiLUG] userspace and kernel space memory experiment

John john at lynch.org.nz
Wed Dec 28 21:13:54 NZDT 2005


Hi guys, I have been trying to figure out how the Linux Memory management system works,
I tried to write a small C program that is in a sleep loop waking up every 5 secs or so checking the value
of a variable (it first prints out is userspace virtual address of the variable), I then wrote a module that tries
to alter that memory location from kernel space. I have been doing this by traversing the pgd , pmd and pte arrays
and have come to the conclusion I have know Idea what I am doing :-) and idea's on how this could be done ??


John Lynch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linux.net.nz/pipermail/wailug/attachments/20051228/2dc610a1/attachment.htm


More information about the WaiLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz