aboutsummaryrefslogtreecommitdiffstats
path: root/rild.te
diff options
context:
space:
mode:
authorWilliam Luh <williamluh@google.com>2013-04-25 18:29:26 -0700
committerWilliam Luh <williamluh@google.com>2013-04-25 18:29:26 -0700
commite855c3b4901ff18fd17b9b58593923e95d3e19fa (patch)
tree5c9823033dfd01eea9b2deaf29523271c92d6185 /rild.te
parentaca2f5ebd22adb6e0d5b3ec55a4540ee6d48c9fa (diff)
downloadandroid_external_sepolicy-e855c3b4901ff18fd17b9b58593923e95d3e19fa.tar.gz
android_external_sepolicy-e855c3b4901ff18fd17b9b58593923e95d3e19fa.tar.bz2
android_external_sepolicy-e855c3b4901ff18fd17b9b58593923e95d3e19fa.zip
Allow rild to create, bind, read, write to itself through a netlink socket.
Change-Id: Ia7457e3fd4f1100bbee821f412e80ba17fede5ec
Diffstat (limited to 'rild.te')
-rw-r--r--rild.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/rild.te b/rild.te
index 690bfab..600ecdb 100644
--- a/rild.te
+++ b/rild.te
@@ -38,3 +38,6 @@ allow rild radio_prop:property_service set;
allow rild gps_device:chr_file rw_file_perms;
allow rild tty_device:chr_file rw_file_perms;
+
+# Allow rild to create, bind, read, write to itself through a netlink socket
+allow rild self:netlink_socket { create bind read write };