LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-01-2010, 06:37 AM   #1
ramkernel
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
bsat
Member
 
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

http://oreilly.com/catalog/linuxdrive3/book/ch08.pdf

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

Original Poster
Rep: Reputation: 0
Smile

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
 
  


Reply


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

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

All times are GMT -5. The time now is 03:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration