On Sun, 13 Feb 2005 21:22:15 +0200, Octavian Purdila <tavi@xxxxxxxxx> wrote: > The latter is correct. copy_to_user/copy_from_user will return a non-zero > value if an invalid access is detected, and usually you will then exit the > system call with -EFAULT, doing any necessary cleanups first. > > For more information, see http://www.xml.com/ldd/chapter/book/ch03.html#t8 Alright, thanks a bunch. Athul -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/