Magisk/native/jni/magiskpolicy
topjohnwu ada0f93686 Apply all sepolicy patches pre-init
Boot services tend to fail in the middle when the kernel loads a sepolicy live.
It seems that moving full patch (allow magisk * * *) to late_start is still not enough to fix service startup failures.
So screw it, apply all patched in magiskinit, which makes sure that all rules are only loaded in a single step.
The only down side is that some OEM with a HUGE set of secontexts (e.g. Samsung) might suffer a slightly longer boot time, which IS the reason why the rules are split to 2 parts in the first place.
2018-08-09 03:20:28 +08:00
..
api.c Move magiskpolicy sources to native/jni/magiskpolicy 2018-07-18 18:44:43 +08:00
magiskpolicy.c Apply all sepolicy patches pre-init 2018-08-09 03:20:28 +08:00
magiskpolicy.h Support compiling split cils via magiskpolicy CLI 2018-07-21 05:12:22 +08:00
rules.c Proper addon.d-v2 support 2018-08-03 22:40:49 +08:00
sepolicy.c Support compiling split cils via magiskpolicy CLI 2018-07-21 05:12:22 +08:00
sepolicy.h Support compiling split cils via magiskpolicy CLI 2018-07-21 05:12:22 +08:00