device_google_tangorpro/vendor/hal_lights.te
Chungjui Fan 74bdc8089b Add sepolicy to allow lights to access display
Avc denied logs in b/264023021#comment2

Bug: 264023021
Change-Id: Ib8527aa6cb65511488495e58bca51287107d6d53
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2023-01-04 03:52:30 +00:00

7 lines
388 B
Text

allow hal_light_default sysfs_leds:dir search;
allow hal_light_default sysfs_leds:file rw_file_perms;
allow hal_light_default mnt_vendor_file:dir search;
allow hal_light_default persist_file:dir search;
allow hal_light_default hal_pixel_display_service:service_manager find;
binder_call(hal_light_default, hal_graphics_composer_default);
r_dir_file(hal_light_default, persist_leds_file);