Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

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


    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???

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

  2. #2
    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