Searched refs:directoryName (Results 1 – 2 of 2) sorted by relevance
/hardware/ti/omap4xxx/security/tf_daemon/ |
D | delegation_client.c | 442 int static_checkStorageDirAndAccessRights(char * directoryName) in static_checkStorageDirAndAccessRights() argument 450 if (directoryName == NULL) in static_checkStorageDirAndAccessRights() 456 checkAccess = malloc(strlen(directoryName)+1/* \ */ +1 /* a */ + 1 /* 0 */); in static_checkStorageDirAndAccessRights() 459 LogError("storageDir '%s' allocation error", directoryName); in static_checkStorageDirAndAccessRights() 462 sprintf(checkAccess,"%s\\a",directoryName); in static_checkStorageDirAndAccessRights() 466 LogError("storageDir '%s' is incorrect or cannot be reached", directoryName); in static_checkStorageDirAndAccessRights() 476 if (directoryName == NULL) in static_checkStorageDirAndAccessRights() 482 result = stat(directoryName, &buf); in static_checkStorageDirAndAccessRights() 489 LogError("storageDir '%s' does not have read-write access", directoryName); in static_checkStorageDirAndAccessRights() 496 LogError("storageDir '%s' does not exist", directoryName); in static_checkStorageDirAndAccessRights() [all …]
|
/hardware/ti/omap4-aah/security/tf_daemon/ |
D | delegation_client.c | 485 int static_checkStorageDirAndAccessRights(char * directoryName) in static_checkStorageDirAndAccessRights() argument 493 if (directoryName == NULL) in static_checkStorageDirAndAccessRights() 499 checkAccess = malloc(strlen(directoryName)+1/* \ */ +1 /* a */ + 1 /* 0 */); in static_checkStorageDirAndAccessRights() 502 LogError("storageDir '%s' allocation error", directoryName); in static_checkStorageDirAndAccessRights() 505 sprintf(checkAccess,"%s\\a",directoryName); in static_checkStorageDirAndAccessRights() 509 LogError("storageDir '%s' is incorrect or cannot be reached", directoryName); in static_checkStorageDirAndAccessRights() 519 if (directoryName == NULL) in static_checkStorageDirAndAccessRights() 525 result = stat(directoryName, &buf); in static_checkStorageDirAndAccessRights() 532 LogError("storageDir '%s' does not have read-write access", directoryName); in static_checkStorageDirAndAccessRights() 539 LogError("storageDir '%s' does not exist", directoryName); in static_checkStorageDirAndAccessRights() [all …]
|