Messages in this thread | | | Date | Thu, 29 May 2003 22:10:10 +0200 | From | Pavel Machek <> | Subject | Re: must-fix list, v5 |
| |
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?] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |