From 0648818bb141cec9a5513933a3129e965250e19c Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 16 Mar 2021 12:25:02 +0100 Subject: Cleanup and atexit --- kernel/features/mm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel') 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) -- cgit v1.2.3