ujail: add ELF interpreter (DT_INTERP) to the jail
authorEtienne CHAMPETIER <champetier.etienne@gmail.com>
Fri, 27 Nov 2015 16:27:16 +0000 (16:27 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 27 Nov 2015 16:50:24 +0000 (17:50 +0100)
commit6ffa138d4424dc1f1e05e8923a8d67c8394ac896
treebb561e7299f839177fec522fe6925da4225e0802
parent9211278a18daad763bac3f06afd97dfd5e03aa2c
ujail: add ELF interpreter (DT_INTERP) to the jail

this is needed by musl (openwrt DD)
uClibc/glibc is working without this

this partly fixes
https://dev.openwrt.org/ticket/20785

we still don't handle DT_RPATH, DT_RUNPATH, nodeflib, ...
see http://man7.org/linux/man-pages/man8/ld.so.8.html

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
jail/elf.c