Re: copy_from_user user space address mapping in the kernel page table.

2014-11-02 Thread Valdis . Kletnieks
On Sun, 02 Nov 2014 19:57:44 +0530, mind entropy said: In the copy_from_user when the user passes the virtual address is the address mapped in the kernel page tables? Actually, a large part of the reason for copy_from_user()'s existence is to deal with the possibility that the page is *not*

Re: copy_from_user user space address mapping in the kernel page table.

2014-11-02 Thread mind entropy
On Mon, Nov 3, 2014 at 6:45 AM, valdis.kletni...@vt.edu wrote: On Sun, 02 Nov 2014 19:57:44 +0530, mind entropy said: In the copy_from_user when the user passes the virtual address is the address mapped in the kernel page tables? Actually, a large part of the reason for copy_from_user()'s