| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

tees_extension.h
Go to the documentation of this file.
1
9 #pragma once
10
11 #include <stddef.h>
12 #include <tee_internal_api.h>
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
21 struct TEES_ClientCredentials {
22 int pid;
23 int uid;
24 int gid;
25 };
26
34 DSO_EXPORT int TEES_GetTaskDataSize(size_t *data_size);
35
50 DSO_EXPORT void *TEES_DupIwshmem(void *address, uint32_t size);
51
82 DSO_EXPORT TEE_Result TEES_IsREESharedMemory(uint32_t accessFlags, const void *buffer, size_t size);
83
107 DSO_EXPORT TEE_Result TEES_GetClientCredentials(struct TEES_ClientCredentials *credentials);
108
109 #ifdef __cplusplus
110 }
111 #endif
112
TEES_ClientCredentials::pid
int pid
Definition: tees_extension.h:22
TEES_ClientCredentials
Client credentials structure. Used by TEES_GetClientCredentials().
Definition: tees_extension.h:21
TEES_GetTaskDataSize
int TEES_GetTaskDataSize(size_t *data_size)
Get used size of data memory of the current Trusted Application instance.
TEES_GetClientCredentials
TEE_Result TEES_GetClientCredentials(struct TEES_ClientCredentials *credentials)
Get client credentials (pid, gid, uid)
TEES_DupIwshmem
void * TEES_DupIwshmem(void *address, uint32_t size)
Make long-life duplicate of an Interworld Shared memory buffer.
TEES_ClientCredentials::gid
int gid
Definition: tees_extension.h:24
TEES_ClientCredentials::uid
int uid
Definition: tees_extension.h:23
TEES_IsREESharedMemory
TEE_Result TEES_IsREESharedMemory(uint32_t accessFlags, const void *buffer, size_t size)
Check is buffer shared with REE.