summaryrefslogtreecommitdiff
path: root/src/network/if_nametoindex.c
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/network/if_nametoindex.c
parentc4f49a6a726fcd07bb15198ac4556100320934a9 (diff)
downloadmusl-339516addbde87760f3c0f175a4abcf5d629df54.tar.gz
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/network/if_nametoindex.c')
0 files changed, 0 insertions, 0 deletions