Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, When I checked the /proc/pid/maps, I found that there was a memory region with r--p access permission for every shared libraries. As far as I know, the memory region ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    4

    What's the memory region with r--p permission of a shared library?


    Hi,

    When I checked the /proc/pid/maps, I found that there was a memory region with r--p access permission for every shared libraries. As far as I know, the memory region with r-xp corresponds to the text segment, and the memory region with with rw-p corresponds to the data segment, so what's this r--p memory region???

    Code:
    ...
    0065d000-00660000 r-xp 00000000 fd:00 375        /lib/libdl-2.11.1.so
    00660000-00661000 r--p 00002000 fd:00 375        /lib/libdl-2.11.1.so
    00661000-00662000 rw-p 00003000 fd:00 375        /lib/libdl-2.11.1.so
    0073c000-00746000 r-xp 00000000 fd:00 10699      /lib/libnss_nis-2.11.1.so
    00746000-00747000 r--p 00009000 fd:00 10699      /lib/libnss_nis-2.11.1.so
    00747000-00748000 rw-p 0000a000 fd:00 10699      /lib/libnss_nis-2.11.1.so
    ...

  2. #2
    Just Joined!
    Join Date
    May 2010
    Posts
    4
    Does anyone know it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •