girish shilamkar wrote:
user space virtual address are always valid even in kernel e.g sys_read( char * _user buff, pos, count); requires to access user buffer to perform read.
In the case of system calls, I thought the kernel translated those user virtual addresses into kernel virtual addresses for the driver.
-- Timur Tabi Staff Software Engineer timur.tabi@xxxxxxxxxxx
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/