copy_to/from_use query?

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

 



I have a character device and some of its functions are being called by
ioctl. In a function, I do copy_to_user and copy_from_user to get the user
space data in kernel memory. My question is, if this function doesn't sleep,
can I avoid calls to copy_to_user and copy_from_user?
I am using Linux-2.4.18

Regards
Mohanlal


--
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