mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
properly zero memory on demand paging and mmap
This commit is contained in:
@@ -580,6 +580,8 @@ bool vmm_dealwithrequest(void* addr, long error, bool user){
|
||||
|
||||
status = true;
|
||||
|
||||
memset(addr, 0, PAGE_SIZE);
|
||||
|
||||
done:
|
||||
|
||||
spinlock_release(lock);
|
||||
|
||||
Reference in New Issue
Block a user