mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-31 01:08:58 +00:00
Magisk binary mounting logic is not very clear now. In this commit, it is rewritten in a more robust way. Now it has following cases in mind: 1) Device has a su binary, magisk need to overlay it 2) Choose the PATH with least files to reduce bind mount 3) Filter path which is not suitable