sepolicy: label batt_vol sysfs node to prevent a crash in 3ATHREAD
This commit is contained in:
parent
d2a81148f9
commit
e3b62932de
|
@ -22,3 +22,6 @@ allow cameraserver sysfs_ddr_type:file r_file_perms;
|
|||
|
||||
# PQ
|
||||
allow cameraserver pq_service:service_manager find;
|
||||
|
||||
# batt_vol
|
||||
allow cameraserver sysfs_batt_vol:file r_file_perms;
|
||||
|
|
|
@ -15,6 +15,7 @@ type sysfs_devinfo, fs_type, sysfs_type;
|
|||
type sysfs_membw, fs_type, sysfs_type;
|
||||
type sysfs_boot_mode, fs_type, sysfs_type;
|
||||
type sysfs_ddr_type, fs_type, sysfs_type;
|
||||
type sysfs_batt_vol, fs_type, sysfs_type;
|
||||
|
||||
type msensord_daemon_sysfs, fs_type, sysfs_type;
|
||||
|
||||
|
|
|
@ -106,6 +106,7 @@
|
|||
/sys/bus/platform/drivers/mem_bw_ctrl/concurrency_scenario u:object_r:sysfs_membw:s0
|
||||
/sys/bus/platform/drivers/ddr_type/ddr_type u:object_r:sysfs_ddr_type:s0
|
||||
/sys/devices/virtual/BOOT/BOOT/boot/boot_mode u:object_r:sysfs_boot_mode:s0
|
||||
/sys/devices/platform/battery/power_supply/battery/batt_vol u:object_r:sysfs_batt_vol:s0
|
||||
/sys/devices/platform/mtk_disp_mgr.0/rgb u:object_r:livedisplay_sysfs:s0
|
||||
/sys/bus/platform/drivers/msensor/daemon u:object_r:msensord_daemon_sysfs:s0
|
||||
/sys/bus/platform/drivers/gyroscope/gyro_orientation u:object_r:gyro_orientation_sysfs:s0
|
||||
|
|
Loading…
Reference in New Issue