Home
last modified time | relevance | path

Searched refs:trustPath (Results 1 - 1 of 1) sorted by relevance

/base/tee/tee_client/services/teecd/src/
H A Dfs_work_agent.c491 static uint32_t GetRealFilePath(const char *originPath, char *trustPath, size_t tPathLen) in GetRealFilePath() argument
493 char *retPath = realpath(originPath, trustPath); in GetRealFilePath()
505 errno_t rc = strncpy_s(trustPath, tPathLen, originPath, strlen(originPath)); in GetRealFilePath()
512 if (!IsValidFilePath(trustPath)) { in GetRealFilePath()
625 char trustPath[PATH_MAX] = { 0 }; in DoOpenFile() local
627 uint32_t rRet = GetRealFilePath(path, trustPath, sizeof(trustPath)); in DoOpenFile()
633 FILE *pFile = fopen(trustPath, transControl->args.open.mode); in DoOpenFile()
638 ChownSecStorage(trustPath, true); in DoOpenFile()

Completed in 2 milliseconds