commit | 5fe38516f7ba0318ab792127bb16621920df3319 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sun Nov 15 21:28:41 2015 -0500 |
committer | Rich Felker <dalias@aerifal.cx> | Sun Nov 15 21:28:41 2015 -0500 |
tree | 6f73ce8baeb2cfaf79e420a2bd6e03c7aa64e441 | |
parent | 9e0a317d8c699278c9c8e2a829744ea098548416 [diff] |
use private maps even for read-only segments of FDPIC libraries the nommu kernel shares memory when it can anyway for private read-only maps, but semantically the map should be private. this can make a difference when debugging breakpoints are to be used, in which case the kernel may need to ensure that the mapping is not shared. the new behavior matches how the kernel FDPIC loader maps the main program and/or program interpreter (dynamic linker) binary.