Re: kfifo.h and NULL spinlocks

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

 



Hi,

In either case, I guess I will not use kfifo. It involves
an extra copy since I cannot call copy_to_user directly :(


You can still use kfifo with user space buffers.
Just before passing a user space pointer use access_ok
function. Look at the implementation of copy_from_user
and copy_to_user

-pgssgp


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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