1 # WCNSS service 2 type wcnss_service, domain; 3 type wcnss_service_exec, exec_type, file_type; 4 5 init_daemon_domain(wcnss_service) 6 net_domain(wcnss_service) 7 8 unix_socket_connect(wcnss_service, property, init) 9 10 # Allow creation and modification of wifi data files. 11 allow wcnss_service wifi_data_file:file create_file_perms; 12 13 # Allow modifications of /dev/wcnss_* devices. 14 allow wcnss_service wcnss_device:chr_file rw_file_perms; 15 16 # Set wlan.driver.* properties. 17 set_prop(wcnss_service, wlan_driver_prop) 18