Commit 9bfc610b authored by fire855's avatar fire855
Browse files

sepolicy: add rules for metal

parent 67b84d5c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -139,6 +139,7 @@
/sys/block/mmcblk0/queue/scheduler                              u:object_r:sysfs_perf_control:s0
/sys/devices/virtual/misc/m_alsps_misc(/.*)?                    u:object_r:sysfs_sensors:s0
/sys/devices/virtual/misc/m_acc_misc(/.*)?                      u:object_r:sysfs_sensors:s0
/sys/devices/virtual/misc/m_mag_misc(/.*)?                      u:object_r:sysfs_sensors:s0
/sys/devices/platform/leds-mt65xx/leds(/.*)?                    u:object_r:sysfs_leds:s0
/sys/devices/virtual/switch/h2w/state                           u:object_r:sysfs_h2w_state:s0

+1 −0
Original line number Diff line number Diff line
@@ -5,5 +5,6 @@ allow hal_graphics_composer_default sysfs_boot_mode:file r_file_perms;
allow hal_graphics_composer_default proc_ged:file r_file_perms;
allow hal_graphics_composer_default proc_m4u:file r_file_perms;
allow hal_graphics_composer_default proc_mtk_cmdq:file r_file_perms;
allow hal_graphics_composer_default proc_chip_hwcode:file r_file_perms;

set_prop(hal_graphics_composer_default, pq_conf_prop)
+3 −0
Original line number Diff line number Diff line
allow servicemanager hal_fingerprint_default:dir search;
allow servicemanager hal_fingerprint_default:file r_file_perms;
allow servicemanager hal_fingerprint_default:process getattr;