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

@@ -225,7 +225,8 @@ int strncpy_page(void *to_ptr, void *from_ptr, int maxlength)
/*
* Copy from one buffer to another. Stop if maxlength or
* a page boundary is hit. Breaks if unsigned long sized copy value is 0,
* as opposed to a 0 byte as in string copy.
* as opposed to a 0 byte as in string copy. If byte size 0 was used
* a valid pointer with a 0 byte in it would give a false termination.
*/
int bufncpy_page(void *to_ptr, void *from_ptr, int maxlength)
{