From: Qiuyu Zhang <qiuyu.zhang@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: strange about copy_from_user
Date: Fri, 9 Jul 2004 14:38:26 -0700 [thread overview]
Message-ID: <c26fd828040709143843b3143f@mail.gmail.com> (raw)
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.
next reply other threads:[~2004-07-09 21:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-09 21:38 Qiuyu Zhang [this message]
2004-07-09 21:57 ` strange about copy_from_user Richard B. Johnson
2004-07-09 23:11 ` Qiuyu Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c26fd828040709143843b3143f@mail.gmail.com \
--to=qiuyu.zhang@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.