blob: fc39608c6ff3af668378558fcda0e5f6b5a58cec [file] [log] [blame]
Sanket Khidkikara061aa02015-03-10 22:04:54 -07001# allow netdomain access to cnd
2unix_socket_connect(netdomain, cnd, cnd)
3
4# allow netdomain access to dpmd
5unix_socket_connect(netdomain, dpmwrapper, dpmd)
Neelansh Mittal8f69b082015-11-06 15:21:41 +05306
Steve Kondik1ae3df42016-05-19 21:45:22 -07007allow netd self:capability fsetid;
8allow netd hostapd:unix_dgram_socket sendto;
9
10# Allow netd to chmod dir /data/misc/dhcp
11allow netd dhcp_data_file:dir create_dir_perms;
12
13type_transition netd wifi_data_file:dir wpa_socket "sockets";
14allow netd wpa_socket:dir create_dir_perms;
15allow netd wpa_socket:sock_file create_file_perms;