Allow hwc HAL to read hwc.exynos.vsync_mode prop

`W composer@2.1-se: type=1400 audit(0.0:23509): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=2518 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0`
`E libc    : Access denied finding property "hwc.exynos.vsync_mode"`
This commit is contained in:
ChonDoit 2022-08-16 21:00:44 +00:00 committed by Pierre-Hugues Husson
parent 420f583758
commit 9f0e48ddcd
2 changed files with 7 additions and 0 deletions

View File

@ -1 +1,2 @@
persist.sys.sf.hs_mode u:object_r:sf_hs_mode_prop:s0
hwc.exynos.vsync_mode u:object_r:vendor_hwc_prop:s0

View File

@ -7,3 +7,9 @@ type hal_graphics_composer_default, domain;
type sf_hs_mode_prop, property_type;
get_prop(hal_graphics_composer_default, sf_hs_mode_prop);
type vendor_hwc_prop, property_type;
get_prop(hal_graphics_composer_default, vendor_hwc_prop);