summaryrefslogtreecommitdiffstats
path: root/sepolicy/netd.te
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2014-11-27 20:18:18 +0700
committerSteve Kondik <steve@cyngn.com>2014-11-29 23:33:52 -0800
commite815923b0d31cab8b16dd75f270da077f2efa678 (patch)
tree24e67d69d297a96d3c35b030d45d0dc8ff51533b /sepolicy/netd.te
parent9e0dba30b7349a72e190a1ff3df961f65cf4dac6 (diff)
downloadvendor_replicant-e815923b0d31cab8b16dd75f270da077f2efa678.zip
vendor_replicant-e815923b0d31cab8b16dd75f270da077f2efa678.tar.gz
vendor_replicant-e815923b0d31cab8b16dd75f270da077f2efa678.tar.bz2
vendor: add policies for netd
Required due to CAF's abc9c0f4fe574ee9847f118e5d2ae8c530bac650 in system/netd Fixes showing how many devices are connected to the tethered hotspot Change-Id: I1d83f7ac0b28efa6973e0baf429de2a398c471e3
Diffstat (limited to 'sepolicy/netd.te')
-rw-r--r--sepolicy/netd.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/netd.te b/sepolicy/netd.te
index 4ad0b3e..9a0de3f 100644
--- a/sepolicy/netd.te
+++ b/sepolicy/netd.te
@@ -2,3 +2,7 @@ allow netd self:capability { setuid sys_module setgid };
allow netd self:packet_socket create_socket_perms;
allow netd radio_data_file:dir rw_dir_perms;
allow netd radio_data_file:file create_file_perms;
+allow netd wpa_socket:dir rw_dir_perms;
+allow netd wpa_socket:sock_file create_file_perms;
+allow netd system_wpa_socket:sock_file create_file_perms;
+allow netd hostapd:unix_dgram_socket sendto;