LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-21-2007, 06:07 AM   #1
jan_capri
LQ Newbie
 
Registered: May 2007
Posts: 2

Rep: Reputation: 0
Accessing a kernel buffer from user space


Hi all
I want to use the kernel buffer from user space. I can allocate the kernel memory using a module. Can any one of you tell me what i need to do inside module so that i can make it available in the user space. Any kind of help is highly appreciated.

Thanks
Jan
 
Old 05-21-2007, 09:26 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I don't know very much about that, but you might get a clue or two from the man page for 'dmesg' which is the control program for the kernel ring buffer.
Sorry if this is not quite what you're looking for
 
Old 05-21-2007, 11:44 PM   #3
jan_capri
LQ Newbie
 
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your reply.. but my aim is to get a solution for accessing the kernel buffer allocated through some kernel modules by the application from the application. Is it feasible to implement something like this?

Thanks in advance
Jan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
notify user space application from the kernel space lordofring Linux - Software 2 06-22-2009 12:32 PM
accessing data structure of eth0 from user space???? raklo Linux - Kernel 10 02-09-2007 04:12 AM
How to share data b/w user space and kernel space nandac Linux - Kernel 1 11-28-2006 10:15 PM
Accessing file in kernel space manali Programming 1 02-28-2006 05:03 PM
User Space - Kernel Space basu_arani Programming 3 05-25-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration