dumpstate: add sepolicy for hal_dumpstate to access sysfs_display
Allow dumpstate to read panel extra info. Bug: 183061481 Test: adb bugreport Change-Id: I1902f28c2edceeb5b74ce655f83c8aea7c60825b
This commit is contained in:
parent
ac53196839
commit
560d12c3f1
2 changed files with 8 additions and 4 deletions
2
whitechapel/vendor/google/genfs_contexts
vendored
2
whitechapel/vendor/google/genfs_contexts
vendored
|
@ -170,6 +170,8 @@ genfscon sysfs /devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby
|
|||
# Display
|
||||
genfscon sysfs /devices/platform/1c2c0000.drmdsim/1c2c0000.drmdsim.0/gamma u:object_r:sysfs_display:s0
|
||||
genfscon sysfs /devices/platform/1c2d0000.drmdsim/1c2d0000.drmdsim.0/gamma u:object_r:sysfs_display:s0
|
||||
genfscon sysfs /devices/platform/1c2c0000.drmdsim/1c2c0000.drmdsim.0/panel_extinfo u:object_r:sysfs_display:s0
|
||||
genfscon sysfs /devices/platform/1c2d0000.drmdsim/1c2d0000.drmdsim.0/panel_extinfo u:object_r:sysfs_display:s0
|
||||
genfscon sysfs /devices/platform/1c2c0000.drmdsim/hs_clock u:object_r:sysfs_display:s0
|
||||
genfscon sysfs /devices/platform/1c2d0000.drmdsim/hs_clock u:object_r:sysfs_display:s0
|
||||
|
||||
|
|
|
@ -90,6 +90,8 @@ binder_call(hal_dumpstate_default, citadeld);
|
|||
|
||||
allow hal_dumpstate_default vendor_displaycolor_service:service_manager find;
|
||||
binder_call(hal_dumpstate_default, hal_graphics_composer_default);
|
||||
allow hal_dumpstate_default sysfs_display:dir r_dir_perms;
|
||||
allow hal_dumpstate_default sysfs_display:file r_file_perms;
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow hal_dumpstate_default mnt_vendor_file:dir search;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue