mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
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:
parent
6cfb2d5778
commit
0b3a75c212
3 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
1
sepolicy/vendor/property.te
vendored
1
sepolicy/vendor/property.te
vendored
|
|
@ -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;
|
||||
|
|
|
|||
3
sepolicy/vendor/property_contexts
vendored
3
sepolicy/vendor/property_contexts
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue