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