mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 21:27:37 +00:00
753808a4ce
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