Home
last modified time | relevance | path

Searched refs:baseDir (Results 1 – 2 of 2) sorted by relevance

/hardware/ti/omap4xxx/security/tf_daemon/
Ddelegation_client.c1191 char * baseDir = NULL; in delegation_main() local
1241 if (baseDir != NULL) in delegation_main()
1246 baseDir = malloc(strlen(argv[0])+1); /* Zero-terminated string */ in delegation_main()
1247 if (baseDir == NULL) in delegation_main()
1253 strcpy(baseDir, argv[0]); in delegation_main()
1259 … g_pPartitionNames[i] = malloc(strlen(baseDir) + 1 /* separator */ + sizeof("Store_X.tf")); in delegation_main()
1262 sprintf(g_pPartitionNames[i], "%s%cStore_%1X.tf", baseDir, PATH_SEPARATOR, i); in delegation_main()
1266 free(baseDir); in delegation_main()
1302 if (baseDir == NULL) in delegation_main()
1309 if (static_checkStorageDirAndAccessRights(baseDir) != 0) in delegation_main()
/hardware/ti/omap4-aah/security/tf_daemon/
Ddelegation_client.c1357 char * baseDir = NULL; in delegation_main() local
1407 if (baseDir != NULL) in delegation_main()
1412 baseDir = malloc(strlen(argv[0])+1); /* Zero-terminated string */ in delegation_main()
1413 if (baseDir == NULL) in delegation_main()
1419 strcpy(baseDir, argv[0]); in delegation_main()
1425 … g_pPartitionNames[i] = malloc(strlen(baseDir) + 1 /* separator */ + sizeof("Store_X.tf")); in delegation_main()
1428 sprintf(g_pPartitionNames[i], "%s%cStore_%1X.tf", baseDir, PATH_SEPARATOR, i); in delegation_main()
1432 free(baseDir); in delegation_main()
1468 if (baseDir == NULL) in delegation_main()
1475 if (static_checkStorageDirAndAccessRights(baseDir) != 0) in delegation_main()