Skip to contentSkip to conversation

can I input a gate service to kernel to get kernel data to user ?

DISCUSSION [email protected] 1 participant 1 message Dec 14, 2012

lore
Share & tools
lore
#0 lore raw

Hello :),

Refer this doc for user and kernel communication methods. Hope it helps :).

people.ee.ethz.ch/~arkeller/linux/multi/kernel_user_space_howto.html#toc2

Sent from my HTC
Excuse for typo.

----- Reply message -----
From: "horse_rivers" <[email protected]>
Date: Fri, Dec 14, 2012 6:29 am
Subject: can I input a gate service to kernel to get kernel data to user ?
To: "kernelnewbies at kernelnewbies.org" <[email protected]>

Quoted 4 lines · At?2012-12-13?18:11:24,"Daniel?Baluta"?<[email protected]>?wrote:
Quoted 1 line · On?Thu,?Dec?13,?2012?at?5:17?AM,?horse_rivers?<[email protected]>?wrote:

?is?there?method?for?doing?this?work??take?kernel?data?to?user?

Check?copy_to_user?[1].

how can user application achive to getting data from kernel , I have no idea about ?procedure for implementing this quest

is there some advice ?

BestRegards!
?

Quoted 10 lines

thanks,
Daniel.

[1]?http://lxr.linux.no/#linux+v3.7/arch/x86/lib/usercopy_32.c#L715

_______________________________________________
Kernelnewbies?mailing?list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121214/b6d2fd63/attachment.html