Re: Accessing data structure from kernel space

From: linux lover
Date: Wed Mar 23 2005 - 11:50:11 EST


Hello sir,
--- Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:
> >> Hello all,
> >> I have one linked list data structure added
> to
> >> a file in kernel source code which has some
> kernel
> >> info. I want to acess that linked list structure
> from
> >> user space. Is that possible??
>
> Yes!!
So that mean i can read that linked list
structure and print them in user space that will have
some kernel internel info.
>
> >> Also how to add own system call usable at
> user
> >> level from kernel module??
>
> !!
>
> > Many people will tell you to use the /proc
> file-system.
>
> *cough* sysfs *cough*
> err...(due to new horizons):
> *cough* relayfs *cough*
>
>

Whats that? Can you please elaborate to me as i
am newbie to those words. Pleaseeee.

>
> Jan Engelhardt
> --
>

Thanks in advance.
regards,
linux_lover.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/