aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/features/mm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/features/mm.c b/kernel/features/mm.c
index 2171598..d007039 100644
--- a/kernel/features/mm.c
+++ b/kernel/features/mm.c
@@ -421,6 +421,7 @@ void memory_bypass_disable(void)
memory_bypass_validity = 0;
}
+// TODO: Limit by proc stack and data range
u8 memory_valid(const void *addr)
{
if (proc_current() && !memory_bypass_validity)