xref: /OK3568_Linux_fs/external/security/bin/optee_v2/lib/arm/tee-supplicant (revision 4882a59341e53eb6f0b4789bf948001014eff981)
_ITM_deregisterTMCloneTable __gmon_start__ _ITM_registerTMCloneTable _dprintf pthread_mutex_init __errno_location pthread_mutex_lock pread64 lseek64 pthread_create pwrite64 connect pthread_detach pthread_mutex_unlock dlopen dlsym dlerror socket strcpy exit htons posix_memalign ftruncate64 mmap64 closedir ftell strncpy puts daemon unlink mkdir realloc rewinddir abort strdup __assert_fail strtok strtol calloc strlen getaddrinfo memset dirname strstr rmdir fseek memcmp getsockopt poll memcpy fclose setsockopt malloc getpeername opendir stderr ioctl munmap fwrite fread rename clock_gettime strchr readdir64 freeaddrinfo fcntl64 fopen64 strcmp strerror __libc_start_main ntohs snprintf sysconf free __xstat64 libteec.so.1 libpthread.so.0 librt.so.1 libdl.so.2 libc.so.6 GLIBC_2.4 GLIBC_2.28 GLIBC_2.17 /usr/lib/tee-supplicant/plugins/ 
: = = = $ = 2 = = = = = = # = = & = = = = = src/tee_supplicant.c arg->num_waiters TEES TA not found munmap(%p, %zu) failed - Error = %s optee_armtz /dev/teepriv%zu Usage: tee-supplicant [-d] [<device-name>] -d: run as a daemon (fork after successful initialization) TEE_IOC_SUPPL_RECV: %s TEE_IOC_SUPPL_SEND: %s Unexpected meta parameter pthread_create: %s pthread_detach: %s tee_supp_rk_fs_init: unsupported. rk secure storage is available. We prefer to use it. gmon- ftrace- Cmd [0x%x] not supported pthread_mutex_init: %s terminating... -d -h daemon(): %s failed to open "%s" failed to find an OP-TEE supplicant device failed to load plugins tee-supplicant starts up successfully. running... pthread_mutex_lock: %s pthread_mutex_unlock: %s num_waiters_inc num_waiters_dec load_ta process_free read_request write_response find_params spawn_thread process_one_request main tee_supp_mutex_lock tee_supp_mutex_unlock wrong inparameter to TEECI_LoadSecureModule - %s/%s/%08x-%04x-%04x-%02x%02x%s%02x%02x%02x%02x%02x%02x.ta TEES wrong TA path [%s] r error fread TA file /lib try_load_secure_module %s%s /data/tee %s/ src/tee_supp_fs.c (size_t)r <= len TEES error tee_supp_fs_init: failed to create %s/ ree_fs_new_read ree_fs_new_write tee_supp_fs_process TEES rk_secure_storage open fail rk_secure_storage lseek fail malloc read_buff fail rk_secure_storage read fail /dev/block/by-name/security get_rkss_version version=%d get_rkss_version tee_supp_rk_fs_init TEES rk_secure_storage open fail rk_secure_storage lseek fail rk_secure_storage write fail rk_secure_storage read fail Not enough backup sections! malloc backup_data fail backup sections error! original sections error! rkss_read_patition_tables open fail rkss_read_patition_tables lseek fail rkss_read_patition_tables read fail rkss_backup_sections fail verify [%d] fail, cleanning .... rkss_write_multi_sections failed!!! ret: %d. init usedflags section ... clean usedflags section failed!!! ret: %d. rkss_read_multi_sections fail ! ret: %d. error: unused section! / filename is too long. length:%u malloc table_data fail rkss_read_patition_tables fail ! ret: %d. Not enough space available in secure storage ! index[%d] out of range. reference out of data: %d rkss_write_multi_sections fail ! ret: %d. rkss_write_multi_sections fail ! ret: %d. No enough ptable space available in secure storage. ree_fs_new_open: file name too long. %s ree_fs_new_open : no such file. %s rkss_begin_commit failed! ree_fs_new_create: file name too long. %s ree_fs_new_create : file exist, clear it. %s rkss_decref_multi_usedflags_sections error ! ree_fs_new_create : write back error %d ree_fs_new_create : write empty ptable error. %s rkss_finish_commit failed! unavailable fd: %d! unavailable file index! ree_fs_new_write: fd:%d unvailable! unavailable file index %d section_num %d rkss_incref_multi_usedflags_sections error ! ree_fs_new_write: write ptable error! fd:%d unvailable! unavailable file index %d section_num %d ree_fs_new_remove: no such file. %s ree_fs_new_remove: write back error %d new file name too long. %s filename: %s no found. write ptable error! ree_fs_new_opendir: error rkss_resume failed! rkss_read_section fail ! ret: %d. rkss_verify_usedflags fail ! ret: %d. rkss_begin_commit rkss_finish_commit rkss_backup_sections rkss_resume rkss_read_multi_sections rkss_read_patition_tables rkss_write_multi_sections rkss_verify_ptable rkss_verify_usedflags rkss_get_fileinfo_by_index rkss_get_fileinfo_by_name rkss_get_dirs_by_name rkss_get_empty_section_from_usedflags rkss_incref_multi_usedflags_sections rkss_decref_multi_usedflags_sections rkss_write_empty_ptable rkss_write_back_ptable ree_fs_new_open ree_fs_new_create ree_fs_new_read ree_fs_new_write ree_fs_new_truncate ree_fs_new_remove ree_fs_new_rename ree_fs_new_opendir tee_supp_rk_fs_init_v1 TEES rk_secure_storage open fail rk_secure_storage lseek fail rk_secure_storage read fail rk_secure_storage erase fail rk_secure_storage write fail Not support area_index 0x%x %s flags is null %s area_index invalid %s index num invalid %s rkss_buffer is null %s table is null TEEC: filename is too long. length:%u / filename is too long. length:%u Not enough space available in secure storage ! index[%d] out of range. TEEC: reference out of data: %d reference out of data: %d TEEC: No enough ptable space available in secure storage. get area index fail blk_dwrite fail Not support index=0x%x Malloc failed! blk_dread fail data version lower than image version! data version higher than image version! please update image! Reset area[%d] info... TEEC: rkss_verify_usedflags fail ! ree_fs_new_open: file name too long. %s ree_fs_new_open : no such file. %s ree_fs_new_create: file name too long. %s ree_fs_new_create : file exist, clear it. %s rkss_decref_multi_usedflags_sections error ! ree_fs_new_create : write back error %d ree_fs_new_create : write empty ptable error. %s unavailable fd: %d! unavailable file index! ree_fs_new_write: fd:%d unvailable! unavailable file index %d section_num %d rkss_incref_multi_usedflags_sections error ! ree_fs_new_write: write ptable error! rkss_write_multi_sections fail ! ret: %d. fd:%d unvailable! unavailable file index %d section_num %d ree_fs_new_remove: no such file. %s ree_fs_new_remove: write back error %d new file name too long. %s filename: %s no found. write ptable error! ree_fs_new_opendir: error blk_dread blk_dwrite rkss_verify_usedflags rkss_read_multi_sections rkss_write_multi_sections rkss_get_fileinfo_by_index rkss_get_fileinfo_by_name rkss_get_dirs_by_name rkss_get_empty_section_from_usedflags rkss_incref_multi_usedflags_sections rkss_decref_multi_usedflags_sections rkss_write_area_empty_ptable rkss_write_empty_ptable rkss_write_back_ptable rkss_storage_write rkss_storage_init ree_fs_new_open ree_fs_new_create ree_fs_new_read ree_fs_new_write ree_fs_new_truncate ree_fs_new_remove ree_fs_new_rename ree_fs_new_opendir TEES Could not open %s (%s) Only one MMC device is supported Read CID error (%s) ioctl ret=%d errno=%d All request frames shall be of the same type Expected only one response frame Expected only one request frame Unsupported message type: %d Warning! rpmb write fail! set postsleep and try again! rpmb write fail! /dev/block/mmcblk%urpmb mmc rpmb path: %s /dev/mmcblk%urpmb src/rpmb.c assume_id != 3 /dev/block/mmcblk%u /dev/mmcblk%u Not find mmc node! dev id = %d fd >= 0 mmc path: %s /sys/class/mmc_host/mmc%u/mmc%u:0001/cid Not find mmc cid node! dev id = %d mmc cid path: %s Invalid req/rsp size Unsupported RPMB command: %d mmc_rpmb_fd mmc_fd read_cid read_ext_csd rpmb_data_req rpmb_get_real_dev_id rpmb_get_real_dev_id rpmb_process_request_unlocked plugin_method src/plugin.c p->method->invoke /usr/lib/tee-supplicant/plugins/ TEES could not open directory %s .. . allocate mem for plugin <%s> failed %s/%s assemble of full path for plugin <%s> failed open plugin <%s> failed: %s find 'plugin_method' sym in <%s> failed: %s init the <%s> plugin failed with 0x%x plugin_invoke plugin_load_all src/tee_socket.c fd >= 0 ptr %u TEES tee_socket_close: close(%d): %s sock_close_cb instance_id %d handle %d fd %d: %s fd_to_handle_ptr handle_ptr_to_fd tee_socket_close sock_close_cb .%d /tmp/%s%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x%s.out : = = = $ = 2 = = = = = = # = = & = = = = =
p
GCC: (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16)) 10.2.1 20201103
../sysdeps/arm/start.S /tmp/dgboter/bbs/build03--cen7x86_64/buildbot/cen7x86_64--arm-none-linux-gnueabihf/build/src/glibc/csu GNU AS 2.35.1 GNU C11 10.2.1 20201103 -mfloat-abi=hard -mfpu=neon -mthumb -mtls-dialect=gnu -march=armv7-a+simd -g -O2 -std=gnu11 -fgnu89-inline -fmerge-all-constants -frounding-math -fmath-errno -fno-stack-protector -ftls-model=initial-exec _IO_stdin_used static-reloc.c ../sysdeps/arm/crti.S long long int __init_array_start GNU C11 10.2.1 20201103 -mfloat-abi=hard -mfpu=neon -mthumb -mtls-dialect=gnu -march=armv7-a+simd -g -O2 -std=gnu11 -fgnu89-inline -fmerge-all-constants -frounding-math -fmath-errno -fPIC -fno-stack-protector -ftls-model=initial-exec envp elf-init.c __libc_csu_fini argc __libc_csu_init argv long double __init_array_end tv_nsec __st_ino st_size GNU C11 10.2.1 20201103 -mfloat-abi=hard -mfpu=neon -mthumb -mtls-dialect=gnu -march=armv7-a+simd -g -O2 -std=gnu11 -fgnu89-inline -fmerge-all-constants -frounding-math -fno-stack-protector -fmath-errno -fPIC -ftls-model=initial-exec tv_sec short int st_ctim /tmp/dgboter/bbs/build03--cen7x86_64/buildbot/cen7x86_64--arm-none-linux-gnueabihf/build/src/glibc/io __syscall_slong_t st_nlink st_blksize st_gid __mode_t __int64_t __nlink_t unsigned char file __xstat64 long long unsigned int __blksize_t st_atim short unsigned int __ino64_t st_blocks __pad1 __pad2 st_dev __uint64_t st_mtim __ino_t st_uid __off64_t stat64.c __blkcnt64_t __dev_t __time_t timespec __uid_t st_rdev st_mode __gid_t ../sysdeps/arm/crtn.S
/tmp/dgboter/bbs/build03--cen7x86_64/buildbot/cen7x86_64--arm-none-linux-gnueabihf/build/build-arm-none-linux-gnueabihf/obj/glibc/csu/abi-note.o $d /tmp/dgboter/bbs/build03--cen7x86_64/buildbot/cen7x86_64--arm-none-linux-gnueabihf/build/build-arm-none-linux-gnueabihf/obj/glibc/csu/start.o $t static-reloc.c /home1/hisping/rk_px30_linux/prebuilts/gcc/linux-x86/arm/gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf/bin/../arm-none-linux-gnueabihf/libc/usr/lib/crti.o $a call_weak_fn /home1/hisping/rk_px30_linux/prebuilts/gcc/linux-x86/arm/gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf/bin/../arm-none-linux-gnueabihf/libc/usr/lib/crtn.o crtstuff.c all_implied_fbits deregister_tm_clones __do_global_dtors_aux completed.0 __do_global_dtors_aux_fini_array_entry frame_dummy __frame_dummy_init_array_entry tee_supplicant.c shm_mutex shm_head ta_dir rkss_is_ok num_waiters_inc __PRETTY_FUNCTION__.11 num_waiters_dec __PRETTY_FUNCTION__.10 paged_aligned_alloc get_value find_tshm pop_tshm push_tshm get_param uuid_from_octets load_ta __func__.9 alloc_shm register_local_shm process_alloc process_free __func__.8 open_dev get_dev_fd usage process_rpmb read_request __func__.7 write_response __func__.6 find_params __func__.5 spawn_thread thread_main __func__.4 process_one_request __func__.3 __func__.2 __func__.1 __func__.0 teec_ta_load.c try_load_secure_module tee_supp_fs.c tee_fs_root dir_handle_db_mutex dir_handle_db tee_fs_get_absolute_filename do_mkdir mkpath tee_supp_fs_init open_wrapper ree_fs_new_open ree_fs_new_create ree_fs_new_close ree_fs_new_read __PRETTY_FUNCTION__.2 ree_fs_new_write __PRETTY_FUNCTION__.1 ree_fs_new_truncate ree_fs_new_remove ree_fs_new_rename ree_fs_new_opendir ree_fs_new_closedir ree_fs_new_readdir tee_supp_rk_fs_common.c get_rkss_version tee_supp_rk_fs_v1.c dir_cache dir_num dir_seek rkss_begin_commit __func__.25 rkss_finish_commit __func__.24 rkss_backup_sections __func__.23 rkss_resume __func__.22 rkss_read_multi_sections __func__.21 rkss_read_patition_tables __func__.20 rkss_write_multi_sections __func__.19 rkss_verify_ptable __func__.18 rkss_verify_usedflags __func__.17 rkss_get_fileinfo_by_index __func__.16 rkss_get_fileinfo_by_name __func__.15 rkss_get_dirs_by_name __func__.14 rkss_get_empty_section_from_usedflags __func__.13 rkss_incref_multi_usedflags_sections __func__.12 rkss_decref_multi_usedflags_sections __func__.11 rkss_write_empty_ptable __func__.10 rkss_write_back_ptable rkss_step tee_supp_rk_fs_v2.c rkss_buffer rkss_info erase_flash blk_dread blk_dwrite rkss_get_remain_tables rkss_get_remain_flags rkss_get_larger_area rkss_write_area_empty_ptable rkss_storage_write rkss_storage_init rpmb.c rpmb_mutex mmc_rpmb_fd fd.10 id.8 close_mmc_fd read_cid read_ext_csd set_mmc_io_cmd rpmb_data_req rpmb_get_dev_info rpmb_get_real_dev_id real_dev_id.3 rpmb_process_request_unlocked handle.c plugin.c plugin_list_head uuid_cmp push_plugin find_plugin load_plugin plugin_invoke tee_socket.c sock_mutex sock_lock sock_unlock sock_instance_find fd_to_handle_ptr __PRETTY_FUNCTION__.3 handle_ptr_to_fd sock_handle_get sock_handle_to_fd sock_handle_put chk_pt fd_flags_add sock_connect tee_socket_open tee_socket_close sock_close_cb tee_socket_close_all ts_add ts_diff_to_polltimeout ts_delay_from_millis poll_with_timeout write_with_timeout tee_socket_send read_with_timeout tee_socket_recv tee_socket_ioctl_tcp sa_set_port sa_get_port udp_changeaddr tee_socket_ioctl_udp tee_socket_ioctl prof.c elf-init.c stat64.c __FRAME_END__ __init_array_end _DYNAMIC __init_array_start _GLOBAL_OFFSET_TABLE_ pthread_mutex_unlock@@GLIBC_2.4 __libc_csu_fini calloc@@GLIBC_2.4 strstr@@GLIBC_2.4 tee_supp_param_is_memref tee_supp_param_to_va strcmp@@GLIBC_2.4 rewinddir@@GLIBC_2.4 strtol@@GLIBC_2.4 tee_supp_param_is_value handle_db_set_mutex _ITM_deregisterTMCloneTable setsockopt@@GLIBC_2.4 __bss_start__ tee_supp_rk_fs_process_v1 plugin_process tee_supp_mutex_unlock free@@GLIBC_2.4 tee_supp_rk_fs_init_v1 pthread_mutex_lock@@GLIBC_2.4 pthread_detach@@GLIBC_2.4 clock_gettime@@GLIBC_2.17 memcpy@@GLIBC_2.4 mmap64@@GLIBC_2.4 _edata pthread_mutex_init@@GLIBC_2.4 rmdir@@GLIBC_2.4 ftruncate64@@GLIBC_2.4 ftell@@GLIBC_2.4 memcmp@@GLIBC_2.4 __bss_end__ strdup@@GLIBC_2.4 handle_foreach_put htons@@GLIBC_2.4 sysconf@@GLIBC_2.4 unlink@@GLIBC_2.4 realloc@@GLIBC_2.4 dlerror@@GLIBC_2.4 tee_socket_process stat64 handle_lookup poll@@GLIBC_2.4 stderr@@GLIBC_2.4 tee_supp_fs_process fwrite@@GLIBC_2.4 getsockopt@@GLIBC_2.4 ioctl@@GLIBC_2.4 lseek64@@GLIBC_2.4 strcpy@@GLIBC_2.4 dlopen@@GLIBC_2.4 fread@@GLIBC_2.4 pread64@@GLIBC_2.4 pthread_create@@GLIBC_2.4 daemon@@GLIBC_2.4 opendir@@GLIBC_2.4 __data_start puts@@GLIBC_2.4 malloc@@GLIBC_2.4 __libc_start_main@@GLIBC_2.4 strerror@@GLIBC_2.4 rpmb_process_request dirname@@GLIBC_2.4 __gmon_start__ rename@@GLIBC_2.4 __dso_handle exit@@GLIBC_2.4 _IO_stdin_used strlen@@GLIBC_2.4 strchr@@GLIBC_2.4 tee_supp_rk_fs_init __libc_csu_init posix_memalign@@GLIBC_2.4 handle_db_destroy __errno_location@@GLIBC_2.4 snprintf@@GLIBC_2.4 mkdir@@GLIBC_2.4 tee_supp_rk_fs_process_v2 memset@@GLIBC_2.4 strncpy@@GLIBC_2.4 sock_instances pwrite64@@GLIBC_2.4 tee_supp_rk_fs_init_v2 __end__ TEECI_LoadSecureModule __bss_start fclose@@GLIBC_2.4 munmap@@GLIBC_2.4 strtok@@GLIBC_2.4 fcntl64@@GLIBC_2.28 mmc_node plugin_load_all ntohs@@GLIBC_2.4 readdir64@@GLIBC_2.4 get_rkss_node _dprintf fopen64@@GLIBC_2.4 getpeername@@GLIBC_2.4 freeaddrinfo@@GLIBC_2.4 tee_supp_rk_fs_process getaddrinfo@@GLIBC_2.4 socket@@GLIBC_2.4 __TMC_END__ _ITM_registerTMCloneTable prof_process fseek@@GLIBC_2.4 __xstat64@@GLIBC_2.4 abort@@GLIBC_2.4 dlsym@@GLIBC_2.4 tee_supp_mutex_lock connect@@GLIBC_2.4 closedir@@GLIBC_2.4 __assert_fail@@GLIBC_2.4
.symtab .strtab .shstrtab .interp .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .text .fini .rodata .ARM.exidx .eh_frame .init_array .fini_array .dynamic .got .data .bss .comment .ARM.attributes .debug_aranges .debug_info .debug_abbrev .debug_line .debug_frame .debug_str .debug_loc .debug_ranges