Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 05-21-2007, 07:07 AM   #1
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.

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

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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-22-2007, 12:44 AM   #3
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:32 PM
accessing data structure of eth0 from user space???? raklo Linux - Kernel 10 02-09-2007 05:12 AM
How to share data b/w user space and kernel space nandac Linux - Kernel 1 11-28-2006 11:15 PM
Accessing file in kernel space manali Programming 1 02-28-2006 06:03 PM
User Space - Kernel Space basu_arani Programming 3 05-25-2004 12:46 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:00 PM.

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