Skip to content
Snippets Groups Projects
Commit ebec1aa2 authored by Jiyong Park's avatar Jiyong Park
Browse files

configstore: add selinux policy for configstore@1.0 hal

This change adds selinux policy for configstore@1.0 hal. Currently, only
surfaceflinger has access to the HAL, but need to be widen.

Bug: 34314793
Test: build & run

Merged-In: I40e65032e9898ab5f412bfdb7745b43136d8e964
Change-Id: I40e65032e9898ab5f412bfdb7745b43136d8e964
(cherry picked from commit 5ff0f178)
parent 01ee59a7
No related branches found
No related tags found
No related merge requests found
......@@ -244,6 +244,7 @@
/system/bin/hw/android\.hardware\.bluetooth@1\.0-service u:object_r:hal_bluetooth_default_exec:s0
/system/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_boot_exec:s0
/system/bin/hw/android\.hardware\.camera\.provider@2\.4-service u:object_r:hal_camera_default_exec:s0
/system/bin/hw/android\.hardware\.configstore@1\.0-service u:object_r:hal_configstore_default_exec:s0
/system/bin/hw/android\.hardware\.contexthub@1\.0-service u:object_r:hal_contexthub_default_exec:s0
/system/bin/hw/android\.hardware\.drm@1\.0-service u:object_r:hal_drm_default_exec:s0
/system/bin/hw/android\.hardware\.dumpstate@1\.0-service u:object_r:hal_dumpstate_default_exec:s0
......
type hal_configstore_default, domain;
hal_impl_domain(hal_configstore_default, hal_configstore)
type hal_configstore_default_exec, exec_type, file_type;
init_daemon_domain(hal_configstore_default)
......@@ -121,6 +121,7 @@ attribute haldomain;
attribute hal_audio;
attribute hal_bluetooth;
attribute hal_camera;
attribute hal_configstore;
attribute hal_contexthub;
attribute hal_drm;
attribute hal_dumpstate;
......
......@@ -10,6 +10,7 @@ read_runtime_log_tags(surfaceflinger)
hwbinder_use(surfaceflinger)
binder_call(surfaceflinger, hal_graphics_allocator)
binder_call(surfaceflinger, hal_graphics_composer)
binder_call(surfaceflinger, hal_configstore)
# Perform Binder IPC.
binder_use(surfaceflinger)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment