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
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to