Magisk/native/jni/core
topjohnwu 8032bd0bac Introduce /data mirror
Since we switched to imageless Magisk, module files are directly
stored in /data. However, /data is mounted with nosuid, which also
prevents SELinux typetransition to work (auto transition from one
domain to another when executing files with specific context).
This could cause serious issues when we are replacing system critical
components (e.g. app_process for Xposed), because most of them
are daemons that run in special process domains.

This commit introduced /data mirror. Using similar mirroring technique
we used for system and vendor, we mount another mirror that mounts
/data without nosuid flag. All module files are then mounted from this
mirror mountpoint instead of directly from /data.

Close #1080
2019-02-25 06:13:42 -05:00
..
applets.cpp Some minor optmizations 2019-02-24 17:45:08 -05:00
bootstages.cpp Introduce /data mirror 2019-02-25 06:13:42 -05:00
daemon.cpp Better nice name 2019-02-15 04:31:39 -05:00
db.cpp Clean/refactor includes 2019-02-10 03:57:51 -05:00
init.cpp Some code adjustments 2019-02-24 23:09:34 -05:00
magisk.cpp Fix help message for magisk 2019-02-18 03:09:01 -05:00
magiskrc.h Add newlines before rc scripts 2019-02-18 03:30:30 -05:00
scripting.cpp Remove unused scripts 2019-02-18 03:08:40 -05:00
socket.cpp Separate scripting code 2019-02-15 20:45:05 -05:00