aboutsummaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2015-04-25 13:18:57 +0200
committerRGIB <gibellini.roberto@gmail.com>2015-04-25 13:21:38 +0200
commite6b6d00b051c72ca4ec3c704a70de14bf8ae5645 (patch)
tree00ad1e0a01dbeaa5b5598e6081a993c4e22aa2fb /selinux
parent48054810054e77b9aeaaa34df327d45e71d50571 (diff)
downloaddevice_samsung_kona-common-e6b6d00b051c72ca4ec3c704a70de14bf8ae5645.zip
device_samsung_kona-common-e6b6d00b051c72ca4ec3c704a70de14bf8ae5645.tar.gz
device_samsung_kona-common-e6b6d00b051c72ca4ec3c704a70de14bf8ae5645.tar.bz2
kona-common: update SELinux and fix RIL
Change-Id: If073e5607070e8b766dc91736f397396267fdfe5
Diffstat (limited to 'selinux')
-rw-r--r--selinux/init.te1
-rwxr-xr-xselinux/rild.te4
-rw-r--r--selinux/shell.te1
3 files changed, 6 insertions, 0 deletions
diff --git a/selinux/init.te b/selinux/init.te
index 37c38ef..5b87e48 100644
--- a/selinux/init.te
+++ b/selinux/init.te
@@ -3,3 +3,4 @@ allow init init:process { execmem };
allow init init:tcp_socket { read write create };
allow init port:tcp_socket name_connect;
allow init self:tcp_socket { read write getopt connect };
+allow init kernel:system syslog_read;
diff --git a/selinux/rild.te b/selinux/rild.te
index 51d3f53..f88bea5 100755
--- a/selinux/rild.te
+++ b/selinux/rild.te
@@ -19,3 +19,7 @@ allow rild radio_data_file:dir setattr;
allow rild self:capability dac_override;
allow rild unlabeled:dir search;
allow rild unlabeled:file { read getattr open setattr };
+
+allow rild dumpstate_exec:file getattr;
+allow rild system_data_file:dir write;
+allow rild unlabeled:file write;
diff --git a/selinux/shell.te b/selinux/shell.te
new file mode 100644
index 0000000..f528d9c
--- /dev/null
+++ b/selinux/shell.te
@@ -0,0 +1 @@
+allow shell dalvikcache_data_file:file write;