Re: must-fix list, v5

Pavel Machek
2003-05-29T19:57:16Z

Hi!

> > What is copy_in_user?
> >
> > Both source and destination pointers are in userspace.
>
> sys_memcpy() ?

No, its for in-kernel usage. If you want to copy 10 bytes in
userspace, you can't use memcpy()... You'd have to do copy_from_user()
then copy_to_user(); and that's what copy_in_user does.

Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]