aboutsummaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
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;