Revision: 248 Author: nieklinnenbank Date: Sun Aug 2 03:46:38 2009Log: ProcessCtl now outputs the page directory address in ProcessInfo objects.
This allows a user process to retrieve the physical address of the page directory, and thus modify it in userspace to (un)create mappings. This is exactly what the MemoryServer currently does. http://code.google.com/p/freenos/source/detail?r=248 Modified: /trunk/kernel/API/ProcessCtl.cpp ======================================= --- /trunk/kernel/API/ProcessCtl.cpp Sun Jun 28 17:23:04 2009 +++ /trunk/kernel/API/ProcessCtl.cpp Sun Aug 2 03:46:38 2009 @@ -83,6 +83,7 @@ info->id = proc->getID(); info->state = proc->getState(); info->stack = proc->getStack(); + info->pageDirectory = proc->getPageDirectory(); break; case SetStack: