LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-28-2014, 11:43 AM   #1
greenday
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Rep: Reputation: Disabled
Linux memory segments


When I looked at /proc//maps on linux, following are few of the memory regions

7ffff74fe000-7ffff7500000 r-xp 00000000 08:01 783399 /lib/libdl-2.11.3.so

7ffff7500000-7ffff7700000 ---p 00002000 08:01 783399 /lib/libdl-2.11.3.so

7ffff7700000-7ffff7701000 r--p 00002000 08:01 783399 /lib/libdl-2.11.3.so

7ffff7701000-7ffff7702000 rw-p 00003000 08:01 783399 /lib/libdl-2.11.3.so

7ffff7702000-7ffff7782000 r-xp 00000000 08:01 783400 /lib/libm-2.11.3.so

7ffff7782000-7ffff7982000 ---p 00080000 08:01 783400 /lib/libm-2.11.3.so

7ffff7982000-7ffff7983000 r--p 00080000 08:01 783400 /lib/libm-2.11.3.so

7ffff7983000-7ffff7984000 rw-p 00081000 08:01 783400 /lib/libm-2.11.3.so

7ffff7984000-7ffff79c6000 r-xp 00000000 08:01 783413 /lib/libncurses.so.5.7

7ffff79c6000-7ffff7bc5000 ---p 00042000 08:01 783413 /lib/libncurses.so.5.7

7ffff7bc5000-7ffff7bca000 rw-p 00041000 08:01 783413 /lib/libncurses.so.5.7

7ffff7bca000-7ffff7bdd000 r-xp 00000000 08:01 930981 /usr/lib/libelf-0.148.so

7ffff7bdd000-7ffff7ddd000 ---p 00013000 08:01 930981 /usr/lib/libelf-0.148.so

7ffff7ddd000-7ffff7dde000 r--p 00013000 08:01 930981 /usr/lib/libelf-0.148.so

7ffff7dde000-7ffff7ddf000 rw-p 00014000 08:01 930981 /usr/lib/libelf-0.148.so

7ffff7ddf000-7ffff7dfd000 r-xp 00000000 08:01 783381 /lib/ld-2.11.3.so

I am trying to know what are those memory regions(in bold) with no READ, WRITE and EXECUTE permissions?
 
Old 01-28-2014, 01:37 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I see some discussion on the topic here Understanding Linux proc id maps

Refer to the top answers, but also see Xeor's answer:
Quote:
memory mapping is not only used to map files into memory but is also a tool to request RAM from kernel. These are those inode 0 entries - your stack, heap, bss segments and more
 
  


Reply

Tags
mapping



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shared memory segments - Linux vs. Unix Neven1986 Linux - Server 2 12-09-2013 04:50 PM
Reason for different segments in Linux on x86 anjruu Linux - Kernel 0 01-01-2011 11:42 AM
Linux command for showing the segments of a program thelink123 Linux - Newbie 3 09-02-2010 08:57 AM
Does /dev/shm reduce memory available for non-shared memory segments? mightyscotchpine Linux - Server 1 09-22-2009 06:58 PM
gencore() does not dump core of shared memory segments anubhuti_k AIX 0 01-15-2007 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:24 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
Open Source Consulting | Domain Registration