diff options
author | Marvin Borner | 2021-03-16 12:25:02 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-16 12:25:02 +0100 |
commit | 0648818bb141cec9a5513933a3129e965250e19c (patch) | |
tree | b9cb785e904c44340aaa035ad13255cc61a0cf55 /kernel/features | |
parent | e8b3efb5bafc0502df88c97bc47b361a4d231c5e (diff) |
Cleanup and atexit
Diffstat (limited to 'kernel/features')
-rw-r--r-- | kernel/features/mm.c | 1 |
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) |