LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   kernel address space (https://www.linuxquestions.org/questions/linux-kernel-70/kernel-address-space-823354/)

ramkernel 08-01-2010 05:37 AM

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.........

bsat 08-02-2010 10:04 AM

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.

ramkernel 08-03-2010 10:09 AM

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


All times are GMT -5. The time now is 08:55 PM.