1# cnss-daemon service 2type cnss-daemon, domain; 3type cnss-daemon_exec, exec_type, vendor_file_type, file_type; 4init_daemon_domain(cnss-daemon) 5 6net_domain(cnss-daemon) 7 8allow cnss-daemon self:netlink_generic_socket create_socket_perms_no_ioctl; 9allow cnss-daemon self:qipcrtr_socket create_socket_perms_no_ioctl; 10 11# /data/vendor/wifi/ 12allow cnss-daemon vendor_wifi_vendor_data_file:dir create_dir_perms; 13allow cnss-daemon vendor_wifi_vendor_data_file:file create_file_perms; 14 15# /proc/sys/net/ipv4/tcp_adv_win_scal 16allow cnss-daemon proc_net:file rw_file_perms; 17 18# /sys/class/remoteproc 19allow cnss-daemon sysfs_cnss_daemon:dir r_dir_perms; 20allow cnss-daemon sysfs_cnss_daemon:file r_file_perms; 21