lkml.org 
[lkml]   [2004]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectstrange about copy_from_user
Hi all,
I am working on writing a module driver.

I am trying to use API copy_from_user to copy a bunch of memory from
user space to kernel space. I write a ioctl function to register the
pointer of the memory to kernel. And in the ioctl function I can use
copy_from_user to get the correct data, but the strange thing is that
when I use copy_from_user in other kernel function such as
dev_hard_xmit function , I cannot
get the correct result. I don't konw what the reason is . Thx.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2011 Jasper Spaans