Update rules.c

This commit is contained in:
vczilla 2018-02-18 10:47:25 +00:00 committed by John Wu
parent 2f4062a923
commit f16cd987e4

View File

@ -181,6 +181,8 @@ void sepol_magisk_rules() {
sepol_allowxperm("domain", "devpts", "chr_file", "0x5400-0x54FF"); sepol_allowxperm("domain", "devpts", "chr_file", "0x5400-0x54FF");
if (sepol_exists("untrusted_app_25_devpts")) if (sepol_exists("untrusted_app_25_devpts"))
sepol_allowxperm("domain", "untrusted_app_25_devpts", "chr_file", "0x5400-0x54FF"); sepol_allowxperm("domain", "untrusted_app_25_devpts", "chr_file", "0x5400-0x54FF");
if (sepol_exists("untrusted_app_devpts"))
sepol_allowxperm("domain", "untrusted_app_devpts", "chr_file", "0x5400-0x54FF");
} }
} }