From: matthias.bgg@gmail.com (Matthias Brugger)
To: kernelnewbies@lists.kernelnewbies.org
Subject: can I input a gate service to kernel to get kernel data to user ?
Date: Thu, 13 Dec 2012 11:52:53 +0100 [thread overview]
Message-ID: <50C9B385.8060107@gmail.com> (raw)
In-Reply-To: <16a2ade.3489.13b92440bba.Coremail.horse_rivers@126.com>
On 12/13/2012 04:17 AM, horse_rivers wrote:
> is there method for doing this work? take kernel data to user?
I think copy_to_user is what you are looking for:
http://lxr.free-electrons.com/source/include/asm-generic/uaccess.h#L253
Cheers,
Matthias
>
>
> thanks!
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
next prev parent reply other threads:[~2012-12-13 10:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 3:17 can I input a gate service to kernel to get kernel data to user ? horse_rivers
2012-12-13 10:11 ` Daniel Baluta
2012-12-14 0:59 ` horse_rivers
2012-12-13 10:52 ` Matthias Brugger [this message]
2012-12-14 0:53 ` horse_rivers
2012-12-14 9:28 ` Matthias Brugger
-- strict thread matches above, loose matches on Subject: below --
2012-12-14 1:50 jeshkumar555
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=50C9B385.8060107@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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.