universal7885: sepolicy: 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"`

Change-Id: Ib259886ae5560dc3b2e427890e46877c732ff7ba
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
SamarV-121 2021-07-15 23:16:29 +05:30 committed by roynatech2544
commit 0b3a75c212
3 changed files with 6 additions and 0 deletions

View file

@ -33,3 +33,5 @@ allow hal_graphics_composer_default sysfs_decon:file r_file_perms;
allow hal_graphics_composer_default sysfs_ss_writable:dir r_dir_perms;
allow hal_graphics_composer_default sysfs_ss_writable:file r_file_perms;
get_prop(hal_graphics_composer_default, vendor_hwc_prop)

View file

@ -11,3 +11,4 @@ type vendor_gps_prop, property_type;
type vendor_nfc_prop, property_type;
type vendor_wlbtd_prop, property_type;
type vendor_wlan_prop, property_type;
type vendor_hwc_prop, property_type;

View file

@ -34,3 +34,6 @@ vendor.wlbtd. u:object_r:vendor_wlbtd_prop:s0
# Wlan
vendor.wlan. u:object_r:vendor_wlan_prop:s0
# Hwc
hwc.exynos.vsync_mode u:object_r:vendor_hwc_prop:s0