doubts for copy_from_user

Vishal Thanki vishalthanki at gmail.com
Sun Jul 3 08:09:31 EDT 2011


Hi,

We use copy_from_user/copy_to_user functions to copy data transfer
user data between user space and kernel space. As per my
understanding, these functions are required because we cannot access
userspace data directly within kernel space. But, the implementation
of these functions actually access the user-space data right? Can
someone explain me how this actually happens?

Vishal



More information about the Kernelnewbies mailing list