proot: Properly handle relocated embedded loader
authormichalbednarski <bednarski.michal2@gmail.com>
Sun, 20 Mar 2016 11:18:58 +0000 (12:18 +0100)
committermichalbednarski <bednarski.michal2@gmail.com>
Sun, 20 Mar 2016 11:18:58 +0000 (12:18 +0100)
commit788935ae8ddb824e9996618f2516e5fdb6b703b1
tree76bd689f1d0f25ffff9f39c199dda30acbe5c876
parentab9c603c4804767e4225ee5007a16f6832a9b4e6
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)
disabled-packages/proot/src-execve-enter.c.patch [new file with mode: 0644]