Files
android_device_qcom_sepolicy/common/netd.te
Ricardo Cerqueira 6cd495bc96 netd: Fix creation of hostapd sockets dir
Change-Id: I76fa316c8512d7e7e887f9f3ec249b7b5912f344
2015-01-14 17:50:33 -08:00

16 lines
565 B
Plaintext

#Policies for IPv6 tethering
allow netd netd:capability { setgid setuid };
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
allow netd kernel:system module_request;
unix_socket_connect(netd, cnd, cnd)