aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMarvin Borner2021-03-16 12:25:02 +0100
committerMarvin Borner2021-03-16 12:25:02 +0100
commit0648818bb141cec9a5513933a3129e965250e19c (patch)
treeb9cb785e904c44340aaa035ad13255cc61a0cf55 /kernel
parente8b3efb5bafc0502df88c97bc47b361a4d231c5e (diff)
Cleanup and atexit
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)