On Fri, Aug 12, 2005 at 11:16:23AM -0700, KrnlUsr wrote: > have the core routines copy processed data back to > kernel thread or user space with copy_to_user. or do i > have to have some check saying if called from ioctl > call copy_to_user otherwise call memcpy? Why wouldn't you just let the core routines deal only w/ kernel memory and only have your ioctl handler deal w/ copy_{to,from}_user? John -- John W. Linville linville@xxxxxxxxxxxxx - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html