summaryrefslogtreecommitdiff
path: root/include/termios.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-07-31 14:59:36 -0400
committerRich Felker <dalias@aerifal.cx>2013-07-31 14:59:36 -0400
commitf8c376da9512c8c8a97781100aa04533740171d4 (patch)
tree70fbc550da1f0d3bd6ca13bc9e08324173ba1465 /include/termios.h
parent339516addbde87760f3c0f175a4abcf5d629df54 (diff)
downloadmusl-f8c376da9512c8c8a97781100aa04533740171d4.tar.gz
musl-f8c376da9512c8c8a97781100aa04533740171d4.tar.bz2
musl-f8c376da9512c8c8a97781100aa04533740171d4.tar.xz
musl-f8c376da9512c8c8a97781100aa04533740171d4.zip
prevent passing PT_INTERP name to dlopen from double-loading libc
the dev/inode for the main app and the dynamic linker ("interpreter") are not available, so the subsequent checks don't work. in general we don't want to make exact string matches to existing libraries prevent loading new ones, since this breaks loading upgraded modules in module-loading systems. so instead, special-case it. the motivation for this fix is that calling dlopen on the names returned by dl_iterate_phdr or walking the link map (obtained by dlinfo) seem to be the only methods available to an application to actually get a list of open dso handles.
Diffstat (limited to 'include/termios.h')
0 files changed, 0 insertions, 0 deletions