lkml.org 
[lkml]   [1998]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Accessing a Struct in Kernel Memory from User Space via ioctl
On Mon, 20 Jul 1998, Chris Hirsch wrote:

> I have a module that gets data from a PCI device and stores in into a
> struct in kernel space. How would I go about accessing the information
> contained in the struct via an ioctl call in user space? Or am I going
> about this this wrong way? :-)

I'm not exactly an expert on kernel internals, but I'd say either use a
device (/dev/whatever) or make the information obtained by your module
available in the /proc filesystem.
Both will do.

LLaP
bero

--
Windows 98 supports real multitasking - it can boot and crash simultaneously.
***
Anyone sending unwanted advertising e-mail to this address will be charged
$25 for network traffic and computing time. By extracting my address from
this message or its header, you agree to these terms.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.028 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site