Share your knowledge at the LQ Wiki.
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 08-01-2010, 06:37 AM   #1
LQ Newbie
Registered: Feb 2010
Posts: 15

Rep: Reputation: 0
Question kernel address space

Is it possible to allocate kernel address space from user mode or does kernel have special routine to check these addresses ?

Also disassembling a executable file in linux prints the virtual addresses used by that file.If we modify those address range will kernel report a error while executing the modified file?

Please help.........
Old 08-02-2010, 11:04 AM   #2
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
I am not very sure what your question actually means. If you want to learn about memory allocation in kernel this might help

You can also refer the book, Understanding Linux Kernel.
Old 08-03-2010, 11:09 AM   #3
LQ Newbie
Registered: Feb 2010
Posts: 15

Original Poster
Rep: Reputation: 0

I want to know whether kernel maps virtual address of file to memory blindly or does it do some checking to see if these virtual address are within range.
I know kernel reports error if a program in memory accesses out of its VMA.
what i want to know is that whether it checks the VMA of the program itself upon loading program into memory


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
linux driver how to mmap many kernel address to user space soararing Programming 1 05-22-2008 06:32 AM
Kernel and user space address ? ashok449 Linux - Kernel 1 12-29-2007 01:17 PM
VMWare Linux Kernel address space mis-match madiyaan Linux - Newbie 4 06-19-2006 10:03 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

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