Kernel: Fix typo in userspace address validation

This commit is contained in:
Bananymous 2024-08-09 16:52:57 +03:00
parent 1c67b5e812
commit ed325b4a45
1 changed files with 1 additions and 1 deletions

View File

@ -2278,7 +2278,7 @@ namespace Kernel
// FIXME: should we allow cross mapping access? // FIXME: should we allow cross mapping access?
for (auto& mapped_region : m_mapped_regions) for (auto& mapped_region : m_mapped_regions)
mapped_region->contains_fully(vaddr, size); if (mapped_region->contains_fully(vaddr, size))
return {}; return {};
// FIXME: elf should contain full range [vaddr, vaddr + size) // FIXME: elf should contain full range [vaddr, vaddr + size)