Rename copy_user() to memcpy_user(). Add memmove_user() and

userptr_add().
This commit is contained in:
Michael Brown
2007-01-12 03:14:15 +00:00
parent 859da6bd32
commit 1d313234b3
3 changed files with 32 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ static int elf_load_segment ( struct image *image, Elf_Phdr *phdr ) {
}
/* Copy image to segment */
copy_user ( buffer, 0, image->data, phdr->p_offset, phdr->p_filesz );
memcpy_user ( buffer, 0, image->data, phdr->p_offset, phdr->p_filesz );
return 0;
}