diff options
author | Ricardo Cerqueira <ricardo@cyngn.com> | 2015-01-14 19:45:06 +0000 |
---|---|---|
committer | Ethan Chen <intervigil@gmail.com> | 2015-01-14 17:50:33 -0800 |
commit | 6cd495bc96b5027a98519c89e56d93923b5e096d (patch) | |
tree | 5574d2d59dc81efa9fbf1d3c457e7b41f5564c0f | |
parent | 01a24c6b61486f99516eda0540c89f68ca380fde (diff) | |
download | android_device_qcom_sepolicy-6cd495bc96b5027a98519c89e56d93923b5e096d.tar.gz android_device_qcom_sepolicy-6cd495bc96b5027a98519c89e56d93923b5e096d.tar.bz2 android_device_qcom_sepolicy-6cd495bc96b5027a98519c89e56d93923b5e096d.zip |
netd: Fix creation of hostapd sockets dir
Change-Id: I76fa316c8512d7e7e887f9f3ec249b7b5912f344
-rw-r--r-- | common/netd.te | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/netd.te b/common/netd.te index 124178ad..36899aeb 100644 --- a/common/netd.te +++ b/common/netd.te @@ -4,6 +4,10 @@ allow netd netd:packet_socket { create bind setopt read ioctl }; allow netd wfd_app:fd use; allow netd wfd_app:tcp_socket { read write setopt getopt }; +# See change I4dd0326110c655fcd6cd5f8425be523d9e64ffa7 to system/netd +type_transition netd wifi_data_file:dir wpa_socket "sockets"; +allow netd wpa_socket:dir create_dir_perms; + dontaudit netd self:capability sys_module; #needed for ipt_TCPMSS and ip6t_TCPMSS |