Skip to contentSkip to conversation

Accessing data structure from kernel space

DISCUSSION linux lover 2 participants 2 messages Mar 23, 2005

lore
Share & tools
lore
#0 lore raw

Hello sir,

Quoted 10 lines · --- Jan Engelhardt
Quoted 2 lines
Quoted 2 lines

Hello all,
I have one linked list data structure added

to

Quoted 1 line
Quoted 1 line

a file in kernel source code which has some

kernel

Quoted 1 line
Quoted 1 line

info. I want to acess that linked list structure

from

Quoted 1 line
Quoted 1 line

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.

Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

Also how to add own system call usable at

user

Quoted 1 line
Quoted 1 line

level from kernel module??

Quoted 10 lines

!!

Quoted 1 line

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.

Quoted 4 lines

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