LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Accessing a kernel buffer from user space (https://www.linuxquestions.org/questions/linux-kernel-70/accessing-a-kernel-buffer-from-user-space-555514/)

jan_capri 05-21-2007 06:07 AM

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

GrapefruiTgirl 05-21-2007 09:26 AM

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 :)

jan_capri 05-21-2007 11:44 PM

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


All times are GMT -5. The time now is 05:05 AM.