ldelf_syscall_open_bin()- If the session is for user TAs, look up user TA ELF by UUID. Currently, there are three ways (TA storages) to load user TA in OP-TEE:
- Early TA
- REE filesystem TA
- REE-FS TA rollback protection
- Each TA storage is registered by
REGISTER_TA_STORE()and is stored intota_storesscattered array in the priority order, e.g. - Early TA:
- Secure Storage TA:
- REE filesystem TA:
- Iterates each TA storage, call their
op->open()callback, e.g.ree_fs_ta_open(). - Each TA storage's
op->open()is responsible for comparing UUID (either by itself or through thread RPC) to determine whether user TA for UUID can be found or not. - Returns
TEE_ERROR_ITEM_NOT_FOUNDif user TA for UUID cannot be found.
ldelf_syscall_open_bin()c
Loading...