mirror of
https://github.com/drasko/codezero.git
synced 2026-11-28 20:03:56 +01:00
posix: Fixing mm0 mapping task pages incorrectly
Modifying task_virt_to_page() so that it takes into account page protections. If mm0 writes to a task page that is meant to be read-only, (e.g. the zero page) the design is broken. Every access to a task's page will take the page fault route, and the page fault handler will return the page instead of 0.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
#include <l4/macros.h>
|
||||
#include <l4lib/exregs.h>
|
||||
#include <l4lib/arch/syslib.h>
|
||||
#include INC_GLUE(message.h)
|
||||
|
||||
void exregs_print_registers(void)
|
||||
|
||||
Reference in New Issue
Block a user