• topjohnwu's avatar
    Introduce /data mirror · 8032bd0b
    topjohnwu authored
    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
    8032bd0b
Name
Last commit
Last update
app Loading commit data...
app-core Loading commit data...
chromeos Loading commit data...
docs Loading commit data...
gradle/wrapper Loading commit data...
native Loading commit data...
net Loading commit data...
scripts Loading commit data...
signing Loading commit data...
snet Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
LICENSE Loading commit data...
README.MD Loading commit data...
build.gradle Loading commit data...
build.py Loading commit data...
config.prop.sample Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...