Sean> What I'm more concerned with is whether it's acceptable to
    Sean> call copy_to_user / copy_from_user on kernel memory?

No, I don't think you should do that.  It might work by chance but it
really sounds like something is wrong with the design if you want to
do that.  For one thing it will make it impossible to have sparse
check __user annotations.

Why wouldn't you just do the copying in the place where you dispatch
user functions to the kernel handlers?

 - R.
_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to