sepolicy: basic: non_plat: Allow PQ HAL to use /dev/ion

Change-Id: I096876eb593745a30806ebcb23b78100819ecb7b
Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
bengris32 2023-08-06 22:06:52 +01:00
parent 16d912d4b2
commit e4dbda893d
No known key found for this signature in database
GPG Key ID: 5C798EC5589ED9BF

View File

@ -45,4 +45,7 @@ hal_client_domain(mtk_hal_pq, hal_mtk_mmagent)
allow mtk_hal_pq dmabuf_system_heap_device:chr_file r_file_perms;
# Purpose : Allow change priority
allow mtk_hal_pq self:capability sys_nice;
allow mtk_hal_pq self:capability sys_nice;
# Allow PQ HAL to use /dev/ion
allow mtk_hal_pq ion_device:chr_file rw_file_perms;