1 type wcnss_service, domain, domain_deprecated; 2 type wcnss_service_exec, exec_type, file_type; 3 4 init_daemon_domain(wcnss_service) 5 6 allow wcnss_service self:netlink_socket rw_socket_perms; 7 allow wcnss_service self:socket create_socket_perms; 8 allow wcnss_service proc_net:file w_file_perms; 9 allow wcnss_service self:netlink_socket create_socket_perms; 10 allow wcnss_service smem_log_device:chr_file rw_file_perms; 11 allow wcnss_service self:capability { setuid net_admin setgid }; 12 allow wcnss_service sysfs:file w_file_perms; 13 allow wcnss_service sysfs_usb:file w_file_perms; 14 15 qmux_socket(wcnss_service) 16