Re: kfifo.h and NULL spinlocks

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

 



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

I didn't know access_ok. I've seen that they use  __get_user and
__put_user after access_ok. I sent a patch for this:

http://thread.gmane.org/gmane.linux.kernel/541468/focus=541800

Regards,
Nelson.-


--
http://arhuaco.org
http://emQbit.com

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