platform_system_sepolicy/vendor
Alex Klyubin 09d13e734d Switch Boot Control HAL policy to _client/_server
This switches Boot Control HAL policy to the design which enables us
to conditionally remove unnecessary rules from domains which are
clients of Boot Control HAL.

Domains which are clients of Boot Control HAL, such as update_server,
are granted rules targeting hal_bootctl only when the Boot Control HAL
runs in passthrough mode (i.e., inside the client's process). When the
HAL runs in binderized mode (i.e., in another process/domain, with
clients talking to the HAL over HwBinder IPC), rules targeting
hal_bootctl are not granted to client domains.

Domains which offer a binderized implementation of Boot Control HAL,
such as hal_bootctl_default domain, are always granted rules targeting
hal_bootctl.

P. S. This commit removes direct access to Boot Control HAL from
system_server because system_server is not a client of this HAL. This
commit also removes bootctrl_block_device type which is no longer
used. Finally, boot_control_hal attribute is removed because it is now
covered by the hal_bootctl attribute.

Test: Device boots up, no new denials
Test: Reboot into recovery, sideload OTA update succeeds
Test: Apply OTA update via update_engine:
      1. make dist
      2. Ensure device has network connectivity
      3. ota_call.py -s <serial here> out/dist/sailfish-ota-*.zip
Bug: 34170079
Change-Id: I9c410c092069e431a3852b66c04c4d2a9f1a25cf
2017-03-17 17:22:06 -07:00
..
file_contexts Switch Boot Control HAL policy to _client/_server 2017-03-17 17:22:06 -07:00
hal_audio_default.te Use _client and _server for Audio HAL policy 2017-02-15 13:32:14 -08:00
hal_bluetooth_default.te Bluetooth hal: move to vendor partition. 2017-02-28 01:35:11 +00:00
hal_bootctl_default.te Switch Boot Control HAL policy to _client/_server 2017-03-17 17:22:06 -07:00
hal_camera_default.te Switch Camera HAL policy to _client/_server 2017-02-16 20:37:21 -08:00
hal_configstore_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_contexthub_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_drm_default.te Switch DRM HAL policy to _client/_server 2017-02-17 15:36:41 -08:00
hal_dumpstate_default.te Switch Dumpstate HAL policy to _client/_server 2017-02-22 10:15:24 -08:00
hal_fingerprint_default.te Switch Fingerprint HAL policy to _client/_server 2017-02-21 16:11:25 -08:00
hal_gatekeeper_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_gnss_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_graphics_allocator_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_graphics_composer_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_health_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_ir_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_keymaster_default.te Switch Keymaster HAL policy to _client/_server 2017-02-22 20:18:28 -08:00
hal_light_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_memtrack_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_nfc_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_power_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_sensors_default.te Switch Sensors HAL policy to _client/_server 2017-03-14 12:43:29 -07:00
hal_thermal_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_usb_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_vibrator_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_vr_default.te Annotate most remaining HALs with _client/_server 2017-03-16 19:55:16 -07:00
hal_wifi_default.te Switch Wi-Fi HAL policy to _client/_server 2017-02-22 15:12:19 -08:00
hal_wifi_supplicant_default.te sepolicy: Make wpa_supplicant a HIDL service 2017-03-07 01:34:28 +00:00
rild.te Move rild to vendor partition. 2017-02-23 16:20:07 -08:00