Kernel: Fix typo in userspace address validation
This commit is contained in:
parent
1c67b5e812
commit
ed325b4a45
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue