Home | History | Annotate | Download | only in common
      1 allow tee self:capability { chown setgid setuid sys_admin sys_rawio };
      2 
      3 allow tee device:dir r_dir_perms;
      4 
      5 set_prop(tee, vendor_tee_listener_prop)
      6 get_prop(tee, hwservicemanager_prop)
      7 
      8 hwbinder_use(tee)
      9 vndbinder_use(tee)
     10 
     11 binder_call(tee, hal_tui_comm)
     12 binder_call(tee, hal_graphics_composer_default)
     13 allow tee hal_tui_comm_hwservice:hwservice_manager find;
     14 allow tee qdisplay_service:service_manager find;
     15 allow tee vendor_tui_data_file:file rw_file_perms;
     16 allow tee vendor_tui_data_file:dir search;
     17 
     18 allow tee block_device:dir { getattr search };
     19 allow tee ssd_block_device:blk_file rw_file_perms;
     20 allow tee sg_device:chr_file { rw_file_perms setattr };
     21 
     22 allow tee mnt_vendor_file:dir r_dir_perms;
     23 allow tee persist_file:dir r_dir_perms;
     24 allow tee persist_drm_file:dir create_dir_perms;
     25 allow tee persist_drm_file:file create_file_perms;
     26 allow tee persist_data_file:dir create_dir_perms;
     27 allow tee persist_data_file:file create_file_perms;
     28 
     29 allow tee time_daemon:unix_stream_socket connectto;
     30 
     31 allow tee hal_graphics_allocator_default:fd use;
     32 
     33 # TODO: Replace KM3 with KM4 (b/112339903)
     34 allow tee rpmb_device:blk_file rw_file_perms;
     35 allowxperm tee rpmb_device:blk_file ioctl MMC_IOC_CMD;
     36 
     37 allow tee hal_display_config_hwservice:hwservice_manager find;
     38