android_device_oneplus_dre/sepolicy/private/hal_light_sdm845.te
LuK1337 6e02427beb sdm845-common: Fix lights HAL denials
* OnePlus decided to label these sysfs_oem for some reason.

Change-Id: I4f9012d1583d5d9068751f273b3aa1537c2ce540
2018-10-14 14:28:13 +02:00

7 lines
232 B
Text

type hal_light_sdm845, coredomain, domain;
hal_server_domain(hal_light_sdm845, hal_light)
type hal_light_sdm845_exec, exec_type, file_type;
init_daemon_domain(hal_light_sdm845)
allow hal_light_sdm845 sysfs_oem:file rw_file_perms;