diff --git a/sepolicy/private/file.te b/sepolicy/private/file.te index 668f5a5..641f7a2 100644 --- a/sepolicy/private/file.te +++ b/sepolicy/private/file.te @@ -6,3 +6,4 @@ type op2_file, file_type; type persist_file, file_type; type proc_touchpanel, fs_type; type sysfs_fpc_proximity, sysfs_type, fs_type; +type sysfs_oem, sysfs_type, fs_type; diff --git a/sepolicy/private/hal_light_sdm845.te b/sepolicy/private/hal_light_sdm845.te index 93381ac..20e0d9c 100644 --- a/sepolicy/private/hal_light_sdm845.te +++ b/sepolicy/private/hal_light_sdm845.te @@ -4,4 +4,4 @@ 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_leds:file rw_file_perms; +allow hal_light_sdm845 sysfs_oem:file rw_file_perms;