Page MenuHomeFreeBSD

D14005.id38271.diff
No OneTemporary

D14005.id38271.diff

Index: sys/kern/sys_process.c
===================================================================
--- sys/kern/sys_process.c
+++ sys/kern/sys_process.c
@@ -390,8 +390,7 @@
error = EINVAL;
break;
}
- while (entry != &map->header &&
- (entry->eflags & MAP_ENTRY_IS_SUB_MAP) != 0) {
+ while ((entry->eflags & MAP_ENTRY_IS_SUB_MAP) != 0) {
entry = entry->next;
index++;
}
Index: sys/vm/vm_map.c
===================================================================
--- sys/vm/vm_map.c
+++ sys/vm/vm_map.c
@@ -796,6 +796,7 @@
{
map->header.next = map->header.prev = &map->header;
+ map->header.eflags = 0;
map->needs_wakeup = FALSE;
map->system_map = 0;
map->pmap = pmap;

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 3:48 AM (20 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15760795
Default Alt Text
D14005.id38271.diff (705 B)

Event Timeline