Fixed various faults with execve().

Added a new ordered task_insert_vma() function
This commit is contained in:
Bahadir Balban
2008-12-02 14:15:40 +02:00
parent 05d8438f34
commit 32b3dfe91d
7 changed files with 68 additions and 7 deletions

View File

@@ -194,7 +194,7 @@ int task_copy_vmas(struct tcb *to, struct tcb *from)
vma_copy_links(new_vma, vma);
/* All link copying is finished, now add the new vma to task */
task_add_vma(to, new_vma);
task_insert_vma(new_vma, &to->vm_area_head->list);
}
return 0;