aboutsummaryrefslogtreecommitdiffstats
path: root/selinux/rild.te
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-08-11 16:36:47 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-08-11 16:38:38 +0200
commitfaf47a6d5ddd205c83ce4ed6a3515551953e3277 (patch)
treec2bf7040111516c3f0150feba84a99afda34e340 /selinux/rild.te
parent5b29f84146d6af2f9bb6cfb788e658d563c37dea (diff)
downloaddevice_samsung_espressowifi-faf47a6d5ddd205c83ce4ed6a3515551953e3277.zip
device_samsung_espressowifi-faf47a6d5ddd205c83ce4ed6a3515551953e3277.tar.gz
device_samsung_espressowifi-faf47a6d5ddd205c83ce4ed6a3515551953e3277.tar.bz2
p31xx: add selinux policies
Change-Id: I861ac9ea3583d98e76dd80308f45f0ff51fbb413
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
new file mode 100644
index 0000000..5711ef0
--- /dev/null
+++ b/selinux/rild.te
@@ -0,0 +1,10 @@
+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 radio_device:chr_file rw_file_perms;
+
+allow rild efs_block_device:blk_file rw_file_perms;
+
+allow rild radio_data_file:file { read open write setattr };
+allow rild efs_file:file { read open write getattr };