LinuxQuestions.org
Visit Jeremy's Blog.
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 12-17-2012, 01:25 AM   #1
balaganesh.v
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Rep: Reputation: Disabled
Unhappy vm_pgoff


Hi I know that the vm_pgoff field contains the offset for the mapped region in process's Virtual address space.But when i tried cat /proc/self/maps in the following terminal,
http://bellard.org/jslinux/

I got the following ,
08105000-08106000 rw-p 000bd000 03:00 5474 /bin/busybox
08106000-08107000 rw-p 08106000 00:00 0 [heap]
b7f9f000-b7fce000 r-xp 00000000 03:00 9573 /lib/libuClibc-0.9.31.so
b7fce000-b7fcf000 r--p 0002e000 03:00 9573 /lib/libuClibc-0.9.31.so
b7fcf000-b7fd0000 rw-p 0002f000 03:00 9573 /lib/libuClibc-0.9.31.so
b7fd0000-b7fd4000 rw-p b7fd0000 00:00 0
b7fd4000-b7fdd000 r-xp 00000000 03:00 9572 /lib/libm-0.9.31.so
b7fdd000-b7fde000 r--p 00008000 03:00 9572 /lib/libm-0.9.31.so
b7fde000-b7fdf000 rw-p 00009000 03:00 9572 /lib/libm-0.9.31.so
b7fe0000-b7fe1000 rw-p b7fe0000 00:00 0
b7fe1000-b7fe5000 r-xp 00000000 03:00 9581 /lib/ld-uClibc-0.9.31.so
b7fe5000-b7fe6000 r--p 00003000 03:00 9581 /lib/ld-uClibc-0.9.31.so
b7fe6000-b7fe7000 rw-p 00004000 03:00 9581 /lib/ld-uClibc-0.9.31.so
bfbcc000-bfbe2000 rw-p bfbcc000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
/ #

when I add the highlighted items (starting+offset) I only got B7FCD000 instead of B7FCE000.
Similarly adding

What is the problem with this?????????????????
 
Old 12-17-2012, 01:27 AM   #2
balaganesh.v
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Any one please reply .I stucked up in this for past 1 week.
 
  


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



All times are GMT -5. The time now is 01:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration