Have you tried put_user() and get_user() ? Nicola > Hi, > > how can I copy a stream of bytes to user space? this user space can be > anywhere in a process space (even code segment...). I tried memcpy but it > gave me "Unable to handle kernel paging request at virtual address ...". > With copy_to_user, it seemed to work but, when I tried to verify if it was > really written, it didn't! > > Thanks > > Luis Henriques > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > IRC Channel: irc.openprojects.net / #kernelnewbies > Web Page: http://www.kernelnewbies.org/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/