Loading sepolicy/cameraserver.te +1 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ allow cameraserver system_server:unix_stream_socket { read write }; allow cameraserver camera_device:chr_file rw_file_perms; allow cameraserver mtk_smi_device:chr_file rw_file_perms; allow cameraserver devmap_device:chr_file r_file_perms; allow cameraserver cmdq_device:chr_file r_file_perms; allow cameraserver sysfs_devinfo:file rw_file_perms; allow cameraserver sysfs_membw:file rw_file_perms; allow cameraserver sysfs_boot_mode:file r_file_perms; Loading sepolicy/device.te +3 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,9 @@ type irtx_device, dev_type; # Trustzone type tkcore_device, dev_type; # CMDQ type cmdq_device, dev_type; # Block devices type proinfo_device, dev_type; type nvram_device, dev_type; Loading sepolicy/file_contexts +1 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ /dev/mali.* u:object_r:gpu_device:s0 /dev/mtk_disp.* u:object_r:graphics_device:s0 /dev/sw_sync u:object_r:graphics_device:s0 /dev/mtk_cmdq u:object_r:cmdq_device:s0 /dev/stpbt(/.*)? u:object_r:stpbt_device:s0 /dev/hwmsensor(/.*)? u:object_r:hwmsensor_device:s0 /dev/wmtWifi(/.*)? u:object_r:wmtWifi_device:s0 Loading sepolicy/mediacodec.te +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ allow mediacodec Vcodec_device:chr_file rw_file_perms; allow mediacodec devmap_device:chr_file r_file_perms; allow mediacodec devmap_device:chr_file { ioctl }; allow mediacodec mtk_smi_device:chr_file { ioctl read open }; allow mediacodec cmdq_device:chr_file r_file_perms; allow mediacodec proc:file { open read ioctl }; allow mediacodec sysfs:file { open read write }; allow mediacodec sysfs_devinfo:file { open read write }; Loading sepolicy/surfaceflinger.te +3 −3 Original line number Diff line number Diff line Loading @@ -3,10 +3,10 @@ allow surfaceflinger proc_m4u:file r_file_perms; allow surfaceflinger proc_mtk_cmdq:file r_file_perms; allow surfaceflinger proc_hwcode:file r_file_perms; allow surfaceflinger pq_service:service_manager find; allow surfaceflinger mtk_smi_device:chr_file rw_file_perms; allow surfaceflinger cmdq_device:chr_file r_file_perms; allow surfaceflinger pq_service:service_manager find; allow surfaceflinger guiext-server_service:service_manager { find add }; allow surfaceflinger debug_prop:property_service set; allow surfaceflinger mtk_smi_device:chr_file rw_file_perms; Loading
sepolicy/cameraserver.te +1 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ allow cameraserver system_server:unix_stream_socket { read write }; allow cameraserver camera_device:chr_file rw_file_perms; allow cameraserver mtk_smi_device:chr_file rw_file_perms; allow cameraserver devmap_device:chr_file r_file_perms; allow cameraserver cmdq_device:chr_file r_file_perms; allow cameraserver sysfs_devinfo:file rw_file_perms; allow cameraserver sysfs_membw:file rw_file_perms; allow cameraserver sysfs_boot_mode:file r_file_perms; Loading
sepolicy/device.te +3 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,9 @@ type irtx_device, dev_type; # Trustzone type tkcore_device, dev_type; # CMDQ type cmdq_device, dev_type; # Block devices type proinfo_device, dev_type; type nvram_device, dev_type; Loading
sepolicy/file_contexts +1 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ /dev/mali.* u:object_r:gpu_device:s0 /dev/mtk_disp.* u:object_r:graphics_device:s0 /dev/sw_sync u:object_r:graphics_device:s0 /dev/mtk_cmdq u:object_r:cmdq_device:s0 /dev/stpbt(/.*)? u:object_r:stpbt_device:s0 /dev/hwmsensor(/.*)? u:object_r:hwmsensor_device:s0 /dev/wmtWifi(/.*)? u:object_r:wmtWifi_device:s0 Loading
sepolicy/mediacodec.te +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ allow mediacodec Vcodec_device:chr_file rw_file_perms; allow mediacodec devmap_device:chr_file r_file_perms; allow mediacodec devmap_device:chr_file { ioctl }; allow mediacodec mtk_smi_device:chr_file { ioctl read open }; allow mediacodec cmdq_device:chr_file r_file_perms; allow mediacodec proc:file { open read ioctl }; allow mediacodec sysfs:file { open read write }; allow mediacodec sysfs_devinfo:file { open read write }; Loading
sepolicy/surfaceflinger.te +3 −3 Original line number Diff line number Diff line Loading @@ -3,10 +3,10 @@ allow surfaceflinger proc_m4u:file r_file_perms; allow surfaceflinger proc_mtk_cmdq:file r_file_perms; allow surfaceflinger proc_hwcode:file r_file_perms; allow surfaceflinger pq_service:service_manager find; allow surfaceflinger mtk_smi_device:chr_file rw_file_perms; allow surfaceflinger cmdq_device:chr_file r_file_perms; allow surfaceflinger pq_service:service_manager find; allow surfaceflinger guiext-server_service:service_manager { find add }; allow surfaceflinger debug_prop:property_service set; allow surfaceflinger mtk_smi_device:chr_file rw_file_perms;