diff --git a/private/file_contexts b/private/file_contexts index 8d6f0e5115b0e78460eb86e2dfbc9a47b8e04ac3..123457efb5e5d1be29b96b9ab229d590815fd697 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -243,6 +243,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\.dumpstate@1\.0-service u:object_r:hal_dumpstate_default_exec:s0 /system/bin/hw/android\.hardware\.gatekeeper@1\.0-service u:object_r:hal_gatekeeper_default_exec:s0 diff --git a/private/hal_configstore_default.te b/private/hal_configstore_default.te new file mode 100644 index 0000000000000000000000000000000000000000..b3ca6c2ffc0dc306307d8345c1b0b44ff9dfbe98 --- /dev/null +++ b/private/hal_configstore_default.te @@ -0,0 +1,5 @@ +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) diff --git a/public/attributes b/public/attributes index a2b902963b1e2964c5e5e9ac118f001221538b84..4be56da992af26a5021d996d4bb73460ed0c38b8 100644 --- a/public/attributes +++ b/public/attributes @@ -121,6 +121,7 @@ attribute haldomain; attribute hal_audio; attribute hal_bluetooth; attribute hal_camera; +attribute hal_configstore; attribute hal_contexthub; attribute hal_dumpstate; attribute hal_fingerprint; diff --git a/public/surfaceflinger.te b/public/surfaceflinger.te index 2b1faec10f6db1390cd7c90aeed36b9b29ef0365..c3942f5f5c436e224dc0070c33698c5de3a75cd3 100644 --- a/public/surfaceflinger.te +++ b/public/surfaceflinger.te @@ -8,6 +8,7 @@ typeattribute surfaceflinger mlstrustedsubject; 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)