Re: mmap info

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

 




> > 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
>
> The mmap call extends the process address space to map the file which
> may only be a page. It doesn't interpret the contents. Thus you cannot
> address the section straight away as a normal section in any binary.
> May be u need to know the offset of the section in the particular
> binary.  CMIIW people.

So u mean to say, if i know the offset then i can reach up that location.
How can i know the offset of my .kernel section in my running program.
Thanks
Anurag


********************************************************************************
Network Programs is a SEI-CMM Level 5 & ISO 9001: 2000 Certified Company
********************************************************************************
The information contained in this communication (including any attachments) is
intended solely for the use of the individual or entity to whom it is addressed
and others authorized to receive it. It may contain confidential or legally
privileged information. If you are not the intended recipient you are hereby
notified that any disclosure, copying, distribution or taking any action in
reliance on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please notify us
immediately by responding to this email and delete it from your system.
Network Programs (India) Limited is neither liable for the proper and complete
transmission of the information contained in this communication nor for any
delay in its receipt.
********************************************************************************


[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