From 3fb56dfbe339a03f9a782cb4800584fc2b779f73 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Wed, 10 Jul 2019 22:43:15 +0200 Subject: [PATCH] sm8150-common: sepolicy: Allow to contextmount /op1 Change-Id: I039efdae60adfd6a35fd3c25520b4f7858838f52 --- sepolicy/vendor/init.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/vendor/init.te b/sepolicy/vendor/init.te index 3917f1fe..e79f1b13 100644 --- a/sepolicy/vendor/init.te +++ b/sepolicy/vendor/init.te @@ -3,3 +3,6 @@ allow init { op1_file op2_file }:filesystem { mount relabelfrom relabelto }; # Allow init to mount on op1_file, op2_file allow init { op1_file op2_file }:dir mounton; + +# Allow to contextmount op1_file +allow op1_file self:filesystem associate;