summaryrefslogtreecommitdiffstats
path: root/sepolicy
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/twrp.te5
1 files changed, 4 insertions, 1 deletions
diff --git a/sepolicy/twrp.te b/sepolicy/twrp.te
index 3ebdc4b3b..d81b9e191 100644
--- a/sepolicy/twrp.te
+++ b/sepolicy/twrp.te
@@ -1 +1,4 @@
-permissive recovery;
+recovery_only(`
+ # Allow recovery to set permissive mode
+ permissive recovery;
+')