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_tui_comm_hwservice:hwservice_manager find;
14allow tee qdisplay_service:service_manager find;
15allow tee vendor_tui_data_file:file rw_file_perms;
16allow tee vendor_tui_data_file:dir search;
17
18allow tee block_device:dir { getattr search };
19allow tee ssd_block_device:blk_file rw_file_perms;
20allow tee sg_device:chr_file { rw_file_perms setattr };
21
22allow tee mnt_vendor_file:dir r_dir_perms;
23allow tee persist_file:dir r_dir_perms;
24allow tee persist_drm_file:dir create_dir_perms;
25allow tee persist_drm_file:file create_file_perms;
26allow tee persist_data_file:dir create_dir_perms;
27allow tee persist_data_file:file create_file_perms;
28
29allow tee time_daemon:unix_stream_socket connectto;
30
31allow tee hal_graphics_allocator_default:fd use;
32
33# TODO: Replace KM3 with KM4 (b/112339903)
34allow tee rpmb_device:blk_file rw_file_perms;
35allowxperm tee rpmb_device:blk_file ioctl MMC_IOC_CMD;
36
37allow tee hal_display_config_hwservice:hwservice_manager find;
38