public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* strange about copy_from_user
@ 2004-07-09 21:38 Qiuyu Zhang
  2004-07-09 21:57 ` Richard B. Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: Qiuyu Zhang @ 2004-07-09 21:38 UTC (permalink / raw)
  To: linux-kernel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-09 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-09 21:38 strange about copy_from_user Qiuyu Zhang
2004-07-09 21:57 ` Richard B. Johnson
2004-07-09 23:11   ` Qiuyu Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox