Commit Graph

4 Commits

Author SHA1 Message Date
michalbednarski 788935ae8d proot: Properly handle relocated embedded loader
The _binary_loader_exe_size variable can be relocated by Android linker
which makes it unusable, rely instead on end-start which can be
relocated

Also don't reject binaries with linker having it's own DT_INTERP section
(like /system/bin/linker on ARM Android)
2016-03-20 12:18:58 +01:00
michalbednarski ab9c603c48 proot: Clear errno before ptrace(PTRACE_PEEKDATA)
Bionic doesn't clear it automatically while glibc does,
according to ptrace(2) manpage it should be cleared by caller
2016-03-20 12:13:28 +01:00
Fredrik Fornwall f7690a8bbd Update libtalloc and proot build files 2016-01-08 20:19:06 -05:00
Fredrik Fornwall 6d46157120 Add libtalloc and proot as disabled packages 2015-09-04 18:11:55 -04:00