From c30faad83896e849ed49c4dca36ab61f2b1e8dbf Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sat, 2 Feb 2019 13:24:55 -0500 Subject: [PATCH] Allow all binder operations for root processes --- native/jni/magiskpolicy/rules.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/native/jni/magiskpolicy/rules.cpp b/native/jni/magiskpolicy/rules.cpp index bb3670045..22cdede09 100644 --- a/native/jni/magiskpolicy/rules.cpp +++ b/native/jni/magiskpolicy/rules.cpp @@ -150,6 +150,9 @@ void sepol_magisk_rules() { sepol_allow(SEPOL_PROC_DOMAIN, ALL, "chr_file", ALL); sepol_allow(SEPOL_PROC_DOMAIN, ALL, "fifo_file", ALL); + // Allow all binder transactions + sepol_allow(ALL, SEPOL_PROC_DOMAIN, "binder", ALL); + // Super files sepol_allow(ALL, SEPOL_FILE_DOMAIN, "file", ALL); sepol_allow(ALL, SEPOL_FILE_DOMAIN, "dir", ALL);