From 4875e13d6a8746377b143a3c29049ac6f1f69e3e Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 17 Jun 2019 11:22:29 +0200 Subject: [PATCH] sdm845-common: sepolicy: Allow LiveDisplay HAL to write to its sysfs tunables Change-Id: If0a80437547ee9e93312d26fbcdd8cbd901978e8 --- sepolicy/private/hal_livedisplay_sdm845.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/private/hal_livedisplay_sdm845.te b/sepolicy/private/hal_livedisplay_sdm845.te index 8e947c3..a3a29e5 100644 --- a/sepolicy/private/hal_livedisplay_sdm845.te +++ b/sepolicy/private/hal_livedisplay_sdm845.te @@ -7,3 +7,6 @@ init_daemon_domain(hal_livedisplay_sdm845) # Allow LiveDisplay to store files under /data/display and access them allow hal_livedisplay_sdm845 display_data_file:dir rw_dir_perms; allow hal_livedisplay_sdm845 display_data_file:file create_file_perms; + +# Grant access over LiveDisplay tuneables +allow hal_livedisplay_sdm845 sysfs_livedisplay_tuneable:file rw_file_perms;