mmap info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All
In linux, mmap system call loads the file into the process address space and
return the address, where the file is loaded.
Once the file is loaded we know the address . Now i want to know the address of
the particular section of file in this process address space.
I mean to say that i have added a section lets say .kernel using __attribute__
in the binary.
Since the binary file is mapping into the address space, its .kernel section
will also be mapped into the address space. 
so where can i get the address of the section.
Thanks in advance
Anurag


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux