aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy/init.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/init.te')
-rw-r--r--sepolicy/init.te12
1 files changed, 10 insertions, 2 deletions
diff --git a/sepolicy/init.te b/sepolicy/init.te
index 10790dc..61d39c2 100644
--- a/sepolicy/init.te
+++ b/sepolicy/init.te
@@ -1,3 +1,11 @@
-# init
+# allow insmod
allow init self:capability sys_module;
-allow init self:process execmem;
+
+# chmod/chown rfkill device
+allow init sysfs_bluetooth_writable:file getattr;
+
+# allow creating /sdcard symlink
+allow init tmpfs:lnk_file create;
+
+# For mounting debugfs
+allow init debugfs:dir mounton;