diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-09-22 23:41:41 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-09-22 23:41:41 +0000 |
commit | 6c5cad2aa56745302c1d42d2c8baf6424d29c0f3 (patch) | |
tree | ffd055a36f8e90fcbfde9e1e01d4a15d7aed3399 /arch/sh/ksigaction.h | |
parent | d47d9a50f2568927af51e21b2f2120409db1ab44 (diff) | |
download | musl-6c5cad2aa56745302c1d42d2c8baf6424d29c0f3.tar.gz musl-6c5cad2aa56745302c1d42d2c8baf6424d29c0f3.tar.xz musl-6c5cad2aa56745302c1d42d2c8baf6424d29c0f3.zip |
fix dlsym RTLD_NEXT behavior for fdpic
lookup the dso an address falls in based on the loadmap and not just a base/length. fix the main app's fake loadmap used when loaded by a non-fdpic-aware loader so that it does not cover the whole memory space. function descriptor addresses are also matched for future use by dladdr, but reverse lookups of function descriptors via dladdr have not been implemented yet. some revisions may be needed in the future once reclaim_gaps supports fdpic, so that function descriptors allocated in reclaimed heap space do not get detected as belonging to the module whose gaps they were allocated in.
Diffstat (limited to 'arch/sh/ksigaction.h')
0 files changed, 0 insertions, 0 deletions