diff options
author | Janis Danisevskis <jdanis@google.com> | 2020-01-10 16:12:17 -0800 |
---|---|---|
committer | Janis Danisevskis <jdanis@google.com> | 2020-04-02 17:48:11 -0700 |
commit | 8baf960b11aa9b0cd069f5fe4801afc8b0bb804f (patch) | |
tree | bdd163405e60db18663098460b1ba7fec241e157 /sepolicy | |
parent | 20d11f80a1a630cc4687e9f3a2daa477ef808fdc (diff) | |
download | trusty-8baf960b11aa9b0cd069f5fe4801afc8b0bb804f.tar.gz |
Add android.hardware.confirmationui@1.0-service.trusty
This patch adds the confirmationui HAL service to the trusty qemu board
configuration. This includes PRODUCT_PACKAGES and sepolicy updates.
Test: VtsHalConfirmationUIV1_0TargetTest
Bug: 146078942
Change-Id: Icd011b3af0c660c7368be3417febcb5a5ee28f92
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/file_contexts | 1 | ||||
-rw-r--r-- | sepolicy/hal_confirmationui.te | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 1c80402..22c1f88 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -4,5 +4,6 @@ /vendor/bin/storageproxyd u:object_r:tee_exec:s0 /data/vendor/var/run(/.*)? u:object_r:varrun_file:s0 /data/vendor/ss(/.*)? u:object_r:tee_data_file:s0 +/vendor/bin/hw/android.hardware.confirmationui@1.0-service.trusty u:object_r:hal_confirmationui_default_exec:s0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service.trusty u:object_r:hal_gatekeeper_default_exec:s0 /vendor/bin/hw/android.hardware.keymaster@4.0-service.trusty u:object_r:hal_keymaster_default_exec:s0 diff --git a/sepolicy/hal_confirmationui.te b/sepolicy/hal_confirmationui.te new file mode 100644 index 0000000..d7bc695 --- /dev/null +++ b/sepolicy/hal_confirmationui.te @@ -0,0 +1 @@ +allow hal_confirmationui tee_device:chr_file rw_file_perms; |