diff options
author | kib <kib@FreeBSD.org> | 2012-06-27 20:24:25 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-06-27 20:24:25 +0000 |
commit | 5c55d5df9a42e9d7b7a8f54bab5b9002e76be4c6 (patch) | |
tree | 4e620eb790f93bd164def75fc2638a0db05231e7 /tools | |
parent | c4d8545b000f3d05d8980c700d1038362ffe5f9c (diff) | |
download | FreeBSD-src-5c55d5df9a42e9d7b7a8f54bab5b9002e76be4c6.zip FreeBSD-src-5c55d5df9a42e9d7b7a8f54bab5b9002e76be4c6.tar.gz |
Ensure that for the object which is a dependency for some filtee,
relocations are performed before the object's initializer is called.
When dlopen()ing an object, relocate the whole DAG rooted in the
object instead of only relocating the object itself and list of newly
loaded dependencies.
Reversed sequence currently can occur if the same object is a
dependency for both filtee and filter, since filtees are loaded
typically during the relocation processing, when some filter
dependencies might be already loaded but not relocated yet.
Reported and tested by: swills
Reviewed by: kan
MFC after: 1 week
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions