mirror of
https://github.com/LineageOS/android_device_xiaomi_whyred.git
synced 2025-10-05 19:41:57 +02:00
whyred: Address graphics composer HAL denials
This commit is contained in:
parent
17538ad9f2
commit
0520d2ed1f
2 changed files with 6 additions and 0 deletions
|
@ -23,3 +23,8 @@
|
|||
/sys/devices/soc/soc:fpc1020.*/irq u:object_r:sysfs_fpc_dev:s0
|
||||
/sys/devices/soc/soc:fpc1020.*/hw_reset u:object_r:sysfs_fpc_dev:s0
|
||||
/sys/devices/soc/soc:fpc1020.*/wakeup_enable u:object_r:sysfs_fpc_dev:s0
|
||||
|
||||
# Video4linux sysfs nodes
|
||||
/sys/devices/soc/ca00000\.qcom,msm-cam/video4linux/video0(/.*)? u:object_r:sysfs_graphics:s0
|
||||
/sys/devices/soc/caa0000\.qcom,jpeg/video4linux/video1(/.*)? u:object_r:sysfs_graphics:s0
|
||||
/sys/devices/soc/c900000\.qcom,mdss_rotator/video4linux/video2(/.*)? u:object_r:sysfs_graphics:s0
|
||||
|
|
1
sepolicy/hal_graphics_composer_default.te
Normal file
1
sepolicy/hal_graphics_composer_default.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow hal_graphics_composer_default sysfs_graphics:file r_file_perms;
|
Loading…
Add table
Add a link
Reference in a new issue