1allow tee self:capability { chown setgid setuid sys_admin sys_rawio };
2
3allow tee device:dir r_dir_perms;
4
5set_prop(tee, vendor_tee_listener_prop)
6get_prop(tee, hwservicemanager_prop)
7
8hwbinder_use(tee)
9vndbinder_use(tee)
10
11binder_call(tee, hal_tui_comm)
12binder_call(tee, hal_graphics_composer_default)
13allow tee hal_display_config_hwservice:hwservice_manager find;
14allow tee hal_tui_comm_hwservice:hwservice_manager find;
15allow tee qdisplay_service:service_manager find;
16allow tee vendor_tui_data_file:file rw_file_perms;
17allow tee vendor_tui_data_file:dir search;
18
19allow tee block_device:dir { getattr search };
20allow tee ssd_block_device:blk_file rw_file_perms;
21allow tee sg_device:chr_file { rw_file_perms setattr };
22
23allow tee mnt_vendor_file:dir r_dir_perms;
24allow tee persist_file:dir r_dir_perms;
25allow tee persist_drm_file:dir create_dir_perms;
26allow tee persist_drm_file:file create_file_perms;
27allow tee persist_data_file:dir create_dir_perms;
28allow tee persist_data_file:file create_file_perms;
29
30allow tee time_daemon:unix_stream_socket connectto;
31
32allow tee hal_graphics_allocator_default:fd use;
33