Sanket Khidkikar | a061aa0 | 2015-03-10 22:04:54 -0700 | [diff] [blame] | 1 | # allow netdomain access to cnd |
| 2 | unix_socket_connect(netdomain, cnd, cnd) |
| 3 | |
| 4 | # allow netdomain access to dpmd |
| 5 | unix_socket_connect(netdomain, dpmwrapper, dpmd) |
Neelansh Mittal | 8f69b08 | 2015-11-06 15:21:41 +0530 | [diff] [blame] | 6 | |
Steve Kondik | 1ae3df4 | 2016-05-19 21:45:22 -0700 | [diff] [blame] | 7 | allow netd self:capability fsetid; |
| 8 | allow netd hostapd:unix_dgram_socket sendto; |
| 9 | |
| 10 | # Allow netd to chmod dir /data/misc/dhcp |
| 11 | allow netd dhcp_data_file:dir create_dir_perms; |
| 12 | |
| 13 | type_transition netd wifi_data_file:dir wpa_socket "sockets"; |
| 14 | allow netd wpa_socket:dir create_dir_perms; |
| 15 | allow netd wpa_socket:sock_file create_file_perms; |