about summary refs log tree commit diff
path: root/src/ldso/arm
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-07-31 14:42:08 -0400
committerRich Felker <dalias@aerifal.cx>2013-07-31 14:42:08 -0400
commit339516addbde87760f3c0f175a4abcf5d629df54 (patch)
treed367924554efd34bb36581dc047d53190a14a358 /src/ldso/arm
parentc4f49a6a726fcd07bb15198ac4556100320934a9 (diff)
downloadmusl-339516addbde87760f3c0f175a4abcf5d629df54.tar.gz
musl-339516addbde87760f3c0f175a4abcf5d629df54.tar.xz
musl-339516addbde87760f3c0f175a4abcf5d629df54.zip
add some sanity checks in dynamic loader code
reject elf files which are not ET_EXEC/ET_DYN type as bad exec format,
and reject ET_EXEC files when they cannot be loaded at the correct
address, since they are not relocatable at runtime. the main practical
benefit of this is to make dlopen of the main program fail rather than
producing an unsafe-to-use handle.
Diffstat (limited to 'src/ldso/arm')
0 files changed, 0 insertions, 0 deletions