Re: syscall help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux