aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy/init.te
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-03-04 12:24:37 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-04-19 00:23:48 -0700
commit8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6 (patch)
tree601797ab771e81d818173183bed51cfe547723d6 /sepolicy/init.te
parent7ba368eefea595ea4e07be5ad7eb041a3c42fedb (diff)
downloaddevice_samsung_espressowifi-8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6.zip
device_samsung_espressowifi-8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6.tar.gz
device_samsung_espressowifi-8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6.tar.bz2
sepolicy: address current denials
Change-Id: Ied12c2b588856e7cb874e8693da7e07d9b8d0e6c
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;