mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 18:15:30 +00:00
Load *_compat_cil_file from system_ext
https://android-review.googlesource.com/c/platform/system/core/+/1650271
This commit is contained in:
parent
b2f152e641
commit
6a086bb222
@ -144,6 +144,10 @@ sepolicy *sepolicy::compile_split() {
|
||||
if (access(path, R_OK) == 0)
|
||||
load_cil(db, path);
|
||||
|
||||
sprintf(path, SYSEXT_POLICY_DIR "mapping/%s.compat.cil", plat_ver);
|
||||
if (access(path, R_OK) == 0)
|
||||
load_cil(db, path);
|
||||
|
||||
cil_file = SYSEXT_POLICY_DIR "system_ext_sepolicy.cil";
|
||||
if (access(cil_file, R_OK) == 0)
|
||||
load_cil(db, cil_file);
|
||||
|
Loading…
Reference in New Issue
Block a user