sepolicy: graphics: label drm_hwcomposer properties

This commit is contained in:
Konsta
2025-11-10 16:21:14 +02:00
parent d478ec759e
commit b0ac7bf7c7
4 changed files with 8 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
vndbinder_use(hal_graphics_composer_default)
gpu_access(hal_graphics_composer_default)
get_prop(hal_graphics_composer_default, vendor_hwc_config_prop)

View File

@@ -1,3 +1,4 @@
vendor_internal_prop(vendor_audio_config_prop)
vendor_internal_prop(vendor_ffmpeg_config_prop)
vendor_internal_prop(vendor_hdmi_config_prop)
vendor_internal_prop(vendor_hwc_config_prop)

View File

@@ -9,3 +9,8 @@ persist.vendor.hdmi.cec_device u:object_r:vendor_hdmi_config_prop:s0
persist.vendor.ffmpeg_codec2.rank.audio u:object_r:vendor_ffmpeg_config_prop:s0
persist.vendor.ffmpeg_codec2.rank.video u:object_r:vendor_ffmpeg_config_prop:s0
persist.vendor.ffmpeg_codec2.v4l2.h265 u:object_r:vendor_ffmpeg_config_prop:s0
# Graphics
vendor.hwc.drm.ctm u:object_r:vendor_hwc_config_prop:s0
vendor.hwc.drm.disable_hdr u:object_r:vendor_hwc_config_prop:s0
vendor.hwc.drm.force_mode u:object_r:vendor_hwc_config_prop:s0

View File

@@ -1,3 +1,4 @@
set_prop(vendor_init, vendor_audio_config_prop)
set_prop(vendor_init, vendor_ffmpeg_config_prop)
set_prop(vendor_init, vendor_hdmi_config_prop)
set_prop(vendor_init, vendor_hwc_config_prop)