universal7580: sepolicy: allow system-server to read/write sysfs_sensors
authorJan Altensen <info@stricted.net>
Sun, 30 Jun 2019 14:51:26 +0000 (16:51 +0200)
committerJan Altensen <info@stricted.net>
Fri, 16 Aug 2019 21:19:00 +0000 (23:19 +0200)
Change-Id: Iad7b1cda464d6eee8ce3ca6978ceba91cd042744

sepolicy/system_server.te

index a04b05a3365224682fdfaec8e86a3ea6a9c1c5d6..6ea261ecb62ecfbf5d47b77c771489d3f6fbc896 100644 (file)
@@ -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;