Home | History | Annotate | Download | only in sepolicy
      1 # CNEService app
      2 type qcneservice, domain, coredomain;
      3 
      4 app_domain(qcneservice)
      5 net_domain(qcneservice)
      6 
      7 add_service(qcneservice, cne_service)
      8 
      9 unix_socket_connect(qcneservice, cnd, cnd)
     10 
     11 allow qcneservice { app_api_service radio_service }:service_manager find;
     12 
     13 # Read and write /data/data subdirectory.
     14 allow qcneservice system_app_data_file:dir create_dir_perms;
     15 allow qcneservice system_app_data_file:{ file lnk_file } create_file_perms;
     16 
     17 allow qcneservice cgroup:file w_file_perms;
     18