hwservice.te 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. type default_android_hwservice, hwservice_manager_type;
  2. type fwk_bufferhub_hwservice, hwservice_manager_type, coredomain_hwservice;
  3. type fwk_camera_hwservice, hwservice_manager_type, coredomain_hwservice;
  4. type fwk_display_hwservice, hwservice_manager_type, coredomain_hwservice;
  5. type fwk_scheduler_hwservice, hwservice_manager_type, coredomain_hwservice;
  6. type fwk_sensor_hwservice, hwservice_manager_type, coredomain_hwservice;
  7. type fwk_stats_hwservice, hwservice_manager_type, coredomain_hwservice;
  8. type hal_atrace_hwservice, hwservice_manager_type;
  9. type hal_audiocontrol_hwservice, hwservice_manager_type;
  10. type hal_audio_hwservice, hwservice_manager_type;
  11. type hal_authsecret_hwservice, hwservice_manager_type;
  12. type hal_bluetooth_hwservice, hwservice_manager_type;
  13. type hal_bootctl_hwservice, hwservice_manager_type;
  14. type hal_broadcastradio_hwservice, hwservice_manager_type;
  15. type hal_camera_hwservice, hwservice_manager_type;
  16. type hal_codec2_hwservice, hwservice_manager_type;
  17. type hal_configstore_ISurfaceFlingerConfigs, hwservice_manager_type;
  18. type hal_confirmationui_hwservice, hwservice_manager_type;
  19. type hal_contexthub_hwservice, hwservice_manager_type;
  20. type hal_drm_hwservice, hwservice_manager_type;
  21. type hal_cas_hwservice, hwservice_manager_type;
  22. type hal_dumpstate_hwservice, hwservice_manager_type;
  23. type hal_evs_hwservice, hwservice_manager_type;
  24. type hal_face_hwservice, hwservice_manager_type;
  25. type hal_fingerprint_hwservice, hwservice_manager_type;
  26. type hal_gatekeeper_hwservice, hwservice_manager_type;
  27. type hal_gnss_hwservice, hwservice_manager_type;
  28. type hal_graphics_allocator_hwservice, hwservice_manager_type;
  29. type hal_graphics_composer_hwservice, hwservice_manager_type;
  30. type hal_graphics_mapper_hwservice, hwservice_manager_type, same_process_hwservice;
  31. type hal_health_hwservice, hwservice_manager_type;
  32. type hal_health_storage_hwservice, hwservice_manager_type;
  33. type hal_input_classifier_hwservice, hwservice_manager_type;
  34. type hal_ir_hwservice, hwservice_manager_type;
  35. type hal_keymaster_hwservice, hwservice_manager_type;
  36. type hal_light_hwservice, hwservice_manager_type;
  37. type hal_lowpan_hwservice, hwservice_manager_type;
  38. type hal_memtrack_hwservice, hwservice_manager_type;
  39. type hal_neuralnetworks_hwservice, hwservice_manager_type;
  40. type hal_nfc_hwservice, hwservice_manager_type;
  41. type hal_oemlock_hwservice, hwservice_manager_type;
  42. type hal_omx_hwservice, hwservice_manager_type;
  43. type hal_power_hwservice, hwservice_manager_type;
  44. type hal_power_stats_hwservice, hwservice_manager_type;
  45. type hal_renderscript_hwservice, hwservice_manager_type, same_process_hwservice;
  46. type hal_secure_element_hwservice, hwservice_manager_type;
  47. type hal_sensors_hwservice, hwservice_manager_type;
  48. type hal_telephony_hwservice, hwservice_manager_type;
  49. type hal_tetheroffload_hwservice, hwservice_manager_type;
  50. type hal_thermal_hwservice, hwservice_manager_type;
  51. type hal_tv_cec_hwservice, hwservice_manager_type;
  52. type hal_tv_input_hwservice, hwservice_manager_type;
  53. type hal_usb_hwservice, hwservice_manager_type;
  54. type hal_usb_gadget_hwservice, hwservice_manager_type;
  55. type hal_vehicle_hwservice, hwservice_manager_type;
  56. type hal_vibrator_hwservice, hwservice_manager_type;
  57. type hal_vr_hwservice, hwservice_manager_type;
  58. type hal_weaver_hwservice, hwservice_manager_type;
  59. type hal_wifi_hwservice, hwservice_manager_type;
  60. type hal_wifi_hostapd_hwservice, hwservice_manager_type;
  61. type hal_wifi_offload_hwservice, hwservice_manager_type;
  62. type hal_wifi_supplicant_hwservice, hwservice_manager_type;
  63. type hidl_allocator_hwservice, hwservice_manager_type, coredomain_hwservice;
  64. type hidl_base_hwservice, hwservice_manager_type;
  65. type hidl_manager_hwservice, hwservice_manager_type, coredomain_hwservice;
  66. type hidl_memory_hwservice, hwservice_manager_type, coredomain_hwservice;
  67. type hidl_token_hwservice, hwservice_manager_type, coredomain_hwservice;
  68. type system_net_netd_hwservice, hwservice_manager_type, coredomain_hwservice;
  69. type system_suspend_hwservice, hwservice_manager_type, coredomain_hwservice;
  70. type system_wifi_keystore_hwservice, hwservice_manager_type, coredomain_hwservice;
  71. type thermalcallback_hwservice, hwservice_manager_type;
  72. ###
  73. ### Neverallow rules
  74. ###
  75. # hwservicemanager handles registering or looking up named services.
  76. # It does not make sense to register or lookup something which is not a
  77. # hwservice. Trigger a compile error if this occurs.
  78. neverallow domain ~hwservice_manager_type:hwservice_manager { add find };