Home | History | Annotate | Download | only in sepolicy
      1 type wcnss_service, domain, device_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_no_ioctl;
      7 allow wcnss_service self:socket create_socket_perms;
      8 allowxperm wcnss_service self:socket ioctl msm_sock_ipc_ioctls;
      9 allow wcnss_service proc_net:file w_file_perms;
     10 allow wcnss_service self:netlink_socket create_socket_perms_no_ioctl;
     11 allow wcnss_service smem_log_device:chr_file rw_file_perms;
     12 allow wcnss_service self:capability { setuid net_admin setgid };
     13 allow wcnss_service sysfs:file w_file_perms;
     14 allow wcnss_service sysfs_usb:file w_file_perms;
     15 
     16 qmux_socket(wcnss_service)
     17