author | Jacky Liu <qsliu@google.com> | 2020-06-03 09:33:45 (GMT) |
---|---|---|
committer | Android Partner Code Review <android-gerrit-partner@google.com> | 2020-06-03 09:33:45 (GMT) |
commit | 24e05d893975beb2a947f0e17e75e9e1ab00bb9b (patch) | |
tree | 24acaa611408d47c742f41d836793f0d84bf6eed | |
parent | a60886b306857dc6ca31a5de97ea06ab7278cc37 (diff) | |
parent | d678d9ba821303e158651ea71b6ef677d7a44b0f (diff) | |
download | common-24e05d893975beb2a947f0e17e75e9e1ab00bb9b.zip common-24e05d893975beb2a947f0e17e75e9e1ab00bb9b.tar.gz common-24e05d893975beb2a947f0e17e75e9e1ab00bb9b.tar.bz2 |
Merge "oemlock: add oemlock hal [1/4]" into q-tv-r1-dev
-rw-r--r--[-rwxr-xr-x] | sepolicy/file_contexts | 2 | ||||
-rw-r--r-- | sepolicy/hal_oemlock_default.te | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 7eeb141..79b29d0 100755..100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -309,6 +309,8 @@ /vendor/bin/hw/android\.hardware\.graphics\.composer@2\.3-service\.droidlogic u:object_r:hal_graphics_composer_default_exec:s0 /vendor/bin/hw/android\.hardware\.thermal@2\.0-service.droidlogic u:object_r:hal_thermal_default_exec:s0 /vendor/bin/hw/android\.hardware\.audio@2\.0-service-droidlogic u:object_r:hal_audio_default_exec:s0 +/vendor/bin/hw/android\.hardware\.oemlock@1\.0-service\.droidlogic u:object_r:hal_oemlock_default_exec:s0 + /data/vendor/mediadrm(/.*)? u:object_r:hal_drm_data:s0 diff --git a/sepolicy/hal_oemlock_default.te b/sepolicy/hal_oemlock_default.te new file mode 100644 index 0000000..dbc0dd1 --- a/dev/null +++ b/sepolicy/hal_oemlock_default.te @@ -0,0 +1,8 @@ +type hal_oemlock_default, domain; +type hal_oemlock_default_exec, exec_type, vendor_file_type, file_type; + +allow hal_oemlock_default system_control:binder { call transfer }; +allow hal_oemlock_default systemcontrol_hwservice:hwservice_manager { find }; + +hal_server_domain(hal_oemlock_default, hal_oemlock) +init_daemon_domain(hal_oemlock_default) |