From f16cd987e472a1bdf712edcccbe39aa1ad2b5d9f Mon Sep 17 00:00:00 2001 From: vczilla Date: Sun, 18 Feb 2018 10:47:25 +0000 Subject: [PATCH] Update rules.c --- rules.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.c b/rules.c index 86f6f3ffb..d51e48e70 100644 --- a/rules.c +++ b/rules.c @@ -181,6 +181,8 @@ void sepol_magisk_rules() { sepol_allowxperm("domain", "devpts", "chr_file", "0x5400-0x54FF"); if (sepol_exists("untrusted_app_25_devpts")) 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"); } }