mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-17 22:58:28 +00:00
![topjohnwu](/assets/img/avatar_default.png)
Since Android 13, sepolicy are also loaded from APEX modules. Part of the change is to run restorecon before SELinux is set to enforce. In order to support this situation, we also hijack plat_file_contexts if necessary to properly order our operations. Original idea credits to @yujincheng08, close #5603