Skip to content
Snippets Groups Projects
Commit 47506854 authored by dcashman's avatar dcashman Committed by android-build-merger
Browse files

Move sysfs_thermal to global policy and grant access.

am: 98eff7c3

* commit '98eff7c3':
  Move sysfs_thermal to global policy and grant access.
parents 8028a738 98eff7c3
Branches
Tags
No related merge requests found
...@@ -34,6 +34,9 @@ type configfs, fs_type; ...@@ -34,6 +34,9 @@ type configfs, fs_type;
type sysfs_devices_system_cpu, fs_type, sysfs_type; type sysfs_devices_system_cpu, fs_type, sysfs_type;
# /sys/module/lowmemorykiller # /sys/module/lowmemorykiller
type sysfs_lowmemorykiller, fs_type, sysfs_type; type sysfs_lowmemorykiller, fs_type, sysfs_type;
type sysfs_thermal, sysfs_type, fs_type;
type sysfs_zram, fs_type, sysfs_type; type sysfs_zram, fs_type, sysfs_type;
type sysfs_zram_uevent, fs_type, sysfs_type; type sysfs_zram_uevent, fs_type, sysfs_type;
type inotify, fs_type, mlstrustedobject; type inotify, fs_type, mlstrustedobject;
......
...@@ -170,6 +170,8 @@ allow system_server sysfs:file rw_file_perms; ...@@ -170,6 +170,8 @@ allow system_server sysfs:file rw_file_perms;
allow system_server sysfs_nfc_power_writable:file rw_file_perms; allow system_server sysfs_nfc_power_writable:file rw_file_perms;
allow system_server sysfs_devices_system_cpu:file w_file_perms; allow system_server sysfs_devices_system_cpu:file w_file_perms;
allow system_server sysfs_mac_address:file r_file_perms; allow system_server sysfs_mac_address:file r_file_perms;
allow system_server sysfs_thermal:dir search;
allow system_server sysfs_thermal:file r_file_perms;
# Access devices. # Access devices.
allow system_server device:dir r_dir_perms; allow system_server device:dir r_dir_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment