From: Jan Altensen Date: Sun, 30 Jun 2019 14:51:26 +0000 (+0200) Subject: universal7580: sepolicy: allow system-server to read/write sysfs_sensors X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b5522fafe1fd0b42ededb560348ddd9ae281996;p=GitHub%2FLineageOS%2Fandroid_device_samsung_universal7580-common.git universal7580: sepolicy: allow system-server to read/write sysfs_sensors Change-Id: Iad7b1cda464d6eee8ce3ca6978ceba91cd042744 --- diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te index a04b05a..6ea261e 100644 --- a/sepolicy/system_server.te +++ b/sepolicy/system_server.te @@ -46,6 +46,7 @@ allow system_server debugfs:file r_file_perms; allow system_server sensor_device:chr_file rw_file_perms; allow system_server baro_delta_factoryapp_efs_file:file r_file_perms; allow system_server sensor_factoryapp_efs_file:file r_file_perms; +allow system_server sysfs_sensors:file rw_file_perms; # /data/system/gps/xtraee.bin allow system_server gps_data_file:file create_file_perms;