Commit 48327a83 authored by fire855's avatar fire855
Browse files

sepolicy: fix mem_bw_ctrl denial

parent 9a9a43d6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ allow cameraserver proc:file { read ioctl open };
allow cameraserver devmap_device:chr_file r_file_perms;
allow cameraserver devmap_device:chr_file { ioctl };
allow cameraserver sysfs_devinfo:file rw_file_perms;
allow cameraserver sysfs_membw:file rw_file_perms;

# PQ
allow cameraserver pq_service:service_manager find;
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ type thermal_manager_data_file, file_type, data_file_type;
type sysfs_gps_file, fs_type, sysfs_type;
type sysfs_ccci, fs_type, sysfs_type;
type sysfs_devinfo, fs_type, sysfs_type;
type sysfs_membw, fs_type, sysfs_type;

type msensord_daemon_sysfs, fs_type, sysfs_type;

+1 −0
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@
/sys/devices/virtual/gpsdrv(/.*)?                               u:object_r:sysfs_gps_file:s0
/sys/kernel/ccci(/.*)?                                          u:object_r:sysfs_ccci:s0
/sys/bus/platform/drivers/dev_info/dev_info                     u:object_r:sysfs_devinfo:s0
/sys/bus/platform/drivers/mem_bw_ctrl/concurrency_scenario      u:object_r:sysfs_membw:s0
/sys/devices/platform/mtk_disp_mgr.0/rgb                        u:object_r:display_color_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