Page MenuHomeFreeBSD

D22055.diff
No OneTemporary

D22055.diff

Index: head/sys/arm64/arm64/pmap.c
===================================================================
--- head/sys/arm64/arm64/pmap.c
+++ head/sys/arm64/arm64/pmap.c
@@ -5291,7 +5291,8 @@
offset = va & PAGE_MASK;
size = round_page(offset + size);
- if (!VIRT_IN_DMAP(base))
+ if (!VIRT_IN_DMAP(base) &&
+ !(base >= VM_MIN_KERNEL_ADDRESS && base < VM_MAX_KERNEL_ADDRESS))
return (EINVAL);
for (tmpva = base; tmpva < base + size; ) {

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 24, 7:08 AM (1 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30207223
Default Alt Text
D22055.diff (450 B)

Event Timeline