TheMalachite | 961041b | 2022-08-14 15:07:12 +0200 | [diff] [blame] | 1 | # ============================================== |
| 2 | # Common SEPolicy Rule |
| 3 | # ============================================== |
| 4 | |
| 5 | userdebug_or_eng(` |
| 6 | |
| 7 | # MICROTRUST SEPolicy Rule |
| 8 | # Date : 2016/06/01 |
| 9 | # Operation: TEEI integration |
| 10 | # Purpose: Microtrust init_thh service |
| 11 | allow shell init_thh_service_exec:file rx_file_perms; |
| 12 | allow shell init_thh_service_exec:dir r_dir_perms; |
| 13 | hal_client_domain(shell, hal_teei_thh) |
| 14 | |
| 15 | # Purpose: Allow shell to read trustkernel log |
| 16 | allow shell tkcore_data_file:dir search; |
| 17 | allow shell tkcore_log_file:file r_file_perms; |
| 18 | |
| 19 | # Date : WK19.07 2019/06/13 |
| 20 | # Operation : mdi_redirector integration test with AT&T Linkmaster |
| 21 | # Purpose : Allow shell to read DMC property ro.vendor.mtk_mapi_support |
| 22 | get_prop(shell, vendor_mtk_dmc_prop) |
| 23 | |
| 24 | ') |