Magisk/native/jni/init
topjohnwu 753808a4ce Also hijack plat_file_contexts if necessary
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
2022-03-18 00:46:34 -07:00
..
getinfo.cpp Introduce new sepolicy injection mechanism 2022-03-16 00:31:55 -07:00
init.cpp Make magiskinit not magiskpolicy 2022-03-17 03:36:40 -07:00
init.hpp SAR can also have monolithic sepolicy 2022-03-17 22:32:49 -07:00
magiskrc.inc Make post-fs-data scripts block at most 35 secs 2020-12-17 16:54:53 -08:00
mount.cpp Use standalone magiskpolicy 2022-03-17 03:15:39 -07:00
rootdir.cpp SAR can also have monolithic sepolicy 2022-03-17 22:32:49 -07:00
selinux.cpp Also hijack plat_file_contexts if necessary 2022-03-18 00:46:34 -07:00
twostage.cpp Cleanup inheritance 2022-03-14 04:22:09 -07:00