summaryrefslogtreecommitdiffstats
path: root/selinux/rild.te
diff options
context:
space:
mode:
authorCaio Schnepper <caioschnepper@gmail.com>2015-05-01 23:55:43 -0300
committerCaio Schnepper <caioschnepper@gmail.com>2015-05-28 18:29:17 -0300
commitecc3d13410f7821659f7cc1ef806dfb9378853a3 (patch)
tree6861390f0f9cdda0429aaa2b0252137a675eb85b /selinux/rild.te
parente3591e7a641044f28598dfe628c4e0d46d3d7435 (diff)
downloaddevice_samsung_galaxys2-common-ecc3d13410f7821659f7cc1ef806dfb9378853a3.zip
device_samsung_galaxys2-common-ecc3d13410f7821659f7cc1ef806dfb9378853a3.tar.gz
device_samsung_galaxys2-common-ecc3d13410f7821659f7cc1ef806dfb9378853a3.tar.bz2
galaxys2: initial L bringup
Change-Id: Ia356da8437917be3355eba59c1df3943bb33f905
Diffstat (limited to 'selinux/rild.te')
-rw-r--r--selinux/rild.te10
1 files changed, 10 insertions, 0 deletions
diff --git a/selinux/rild.te b/selinux/rild.te
index 40406e3..3c8040a 100644
--- a/selinux/rild.te
+++ b/selinux/rild.te
@@ -1,7 +1,17 @@
allow rild self:netlink_socket { create bind read write };
allow rild self:netlink_route_socket { write };
allow rild self:netlink_kobject_uevent_socket { create bind read write };
+allow rild self:process execmem;
allow rild radio_device:chr_file rw_file_perms;
allow rild efs_block_device:blk_file rw_file_perms;
allow rild efs_file:file { read open write setattr };
+allow rild radio_data_file:dir setattr;
+allow rild block_device:dir search;
+allow rild efs_device_file:dir { search write };
+allow rild efs_device_file:file { read write append getattr open setattr };
+allow rild system_data_file:dir { write add_name };
+allow rild system_data_file:file { write create setattr };
+
+allow rild dumpstate_exec:file { read open getattr execute };
+unix_socket_connect(rild, dumpstate, dumpstate)